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

##Question: Other OAuth2 Providers? #21

Closed
migeruj opened this issue Nov 11, 2020 · 2 comments
Closed

##Question: Other OAuth2 Providers? #21

migeruj opened this issue Nov 11, 2020 · 2 comments
Labels
question Further information is requested

Comments

@migeruj
Copy link

migeruj commented Nov 11, 2020

Hi! Where i can find another examples (i check github and reddit but im looking for facebook and google).

@jebrosen
Copy link
Owner

The user_info_hyper_sync_rustls example includes both GitHub and Google examples. I don't know of any reddit examples; which one are you referring to?

In any case, the only thing that you should need to change in configuration is to use facebook instead of github in the Rocket.toml file. That will use the login and token exchange URIs for facebook, and the API token returned in the TokenResponse should be able to be used with Facebook's API.

@jebrosen jebrosen added the question Further information is requested label Nov 11, 2020
@migeruj
Copy link
Author

migeruj commented Nov 18, 2020

My bad, I was looking at the documentation for version 0.0.5. Thanks for example @jebrosen

@migeruj migeruj closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants