Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Auth Providers #15

Open
tylerstillwater opened this issue Feb 5, 2014 · 0 comments
Open

Dynamic Auth Providers #15

tylerstillwater opened this issue Feb 5, 2014 · 0 comments

Comments

@tylerstillwater
Copy link
Contributor

We have many issues that are listed for adding auth providers. We should change Gomniauth to be dynamic in how it deals with this.

Instead of having an actual object per provider, we should have a generic provider class that uses a map of provider names to figure out how to make the request.

Each entry in the map would contain all the provider info necessary to talk to the provider, as well as another map defining the fields in the response that are necessary for building our internal user object.

If this was implemented, adding a new provider would be as easy as simply adding a new entry to the default provider data map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant