Comments (2)
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.
from rocket_oauth2.
My bad, I was looking at the documentation for version 0.0.5. Thanks for example @jebrosen
from rocket_oauth2.
Related Issues (20)
- Feature: Make redirect_uri optional HOT 6
- Docs: Add example with Custom Provider HOT 1
- Allow extending of authorization endpoint parameters.
- Callback fails to run if request parameters are in the wrong order HOT 4
- Verify token validity HOT 6
- Reddit configuration not actually working HOT 5
- Support revoking tokens
- Plans for Rocket v0.5 HOT 4
- Handle 400 errors from the authorization server HOT 3
- How do we use rocket_oauth2 for Facebook? HOT 1
- What's the difference between rocket_oauth2 and the OAuth2 crate? HOT 1
- Do not check token-type. HOT 1
- Cookie `rocket_oauth2_state` with `secure` flag HOT 2
- Cookies in rocket_oauth2 v0.4.1 not working for rocket v0.5.0-rc.2 HOT 1
- Multiple redirect URIs? HOT 1
- Update to support rocket =0.5.0-rc.4 HOT 1
- How secure is this? HOT 1
- Custom providers, using issuer URL HOT 8
- DeserializationError when using Twitch as a provider. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket_oauth2.