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

Full OAuth2 Support #20

Open
lilyball opened this issue Feb 22, 2017 · 1 comment
Open

Full OAuth2 Support #20

lilyball opened this issue Feb 22, 2017 · 1 comment

Comments

@lilyball
Copy link
Collaborator

We now have the HTTPAuth infrastructure so people can roll their own. But it would be nice if we had an already-written full implementation of OAuth2, including bearer tokens, so people can just use it without writing their own auth implementation.

Ideally we'd do this in a way that the access token type is generic, and we'd provide the implementation of bearer token. This way anyone who needs a different access token type can still use the overall OAuth2 support and just implement the access token part themselves.

@lilyball lilyball added the TODO label Feb 22, 2017
@ekimia
Copy link

ekimia commented Feb 22, 2017

This could be a bit of a rabbit hole given all the different implementations of OAuth 2. However there are other things to do to make it easier to hook up. An info object could be made that includes an authorizationURL along with type to bring up a safari view controller for auth given this a common use case of OAuth 2. If that bit is done, OAuth 2 support for specific providers would be neat to have in another framework.

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

2 participants