Comments (6)
same question.
from passport-github.
Is 's seem passport projet is not maintened
from passport-github.
Passport provides authentication only, in the case of GitHub it does this by obtaining an access token and the user's profile information. Any token revocation is out-of-scope, and needs to be handled by the application, by calling the relevant GitHub API
from passport-github.
Is https://oauth.net/2/token-revocation/ not an option?
from passport-github.
If GitHub supports that API, then it would be, but I don't think they do. Either way, any token revocation would need to happen after authentication, and is not a feature of Passport.
from passport-github.
@jaredhanson, yes this is what I did. But i was wondering if there is a possibility just to logout or to delete the cookie "user_session" that is generate with github instead.
I make a test with passport-facebook, I observe the same behaviour. When I login, after logout, the session with my client and the express server is closed. But If i click again on the login Facebook, it's reconnect without prompting for password. I think this is a security problem.
Passport provides authentication only, in the case of GitHub it does this by obtaining an access token and the user's profile information. Any token revocation is out-of-scope, and needs to be handled by the application, by calling the relevant GitHub API
from passport-github.
Related Issues (20)
- Provide consented scopes in callback
- Does passport-github provide secure authentication?
- passport-github always goes to failureRedirect HOT 1
- redirect back to specific address HOT 2
- "The code passed is incorrect or expired" HOT 14
- Failed to access through accessToken
- 'access_token' not present in the passport-github2 request HOT 3
- 有关认证的逻辑 HOT 1
- How to use passport-github in a REST API Architecture? HOT 2
- Nodejs Passportjs Reactjs CORS issue HOT 1
- Please deprecate this package in favor of `passport-github2` HOT 1
- Use the Authorization HTTP header instead of `access_token` query parameter HOT 18
- TokenError: The client_id and/or client_secret passed are incorrect.
- returning 404 error does not close the connection
- InternalOAuthError: failed to fetch user profile
- tokens not working HOT 2
- How to use proxy with this library while connection github.com from on-prem systems.
- InternalOAuthError: Failed to fetch user profile
- Access token as query parameter is deprecated (cannot fetch emails)
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 passport-github.