Comments (1)
Hi, thanks for bringing this up.
I think we can probably agree that for any client library, you'll need to implement 1), as the API is the source of truth. With this in mind, I've always considered 2) as a nice-to-have - saving a round trip to the API, perhaps, or enabling some other intelligence around refreshing tokens.
With this in mind, I've always had to implement 1), and then moved on to something else, never actually implementing 2). That is probably still my stance today.
That being said, I understand that this can be useful. I don't have the resources at present to implement something like this, but if you'd like to propose how this could work, then I'm all ears. 👂
In other words - PRs welcome! 🙂
from passport-oauth2-refresh.
Related Issues (16)
- Access Token Timeout HOT 7
- Unique instance of _oauth2 HOT 3
- Specify additional parameters to the refresh request HOT 3
- Use with passport-openidconnect? HOT 5
- Question : Multiple Strategies HOT 2
- Refresh Token undefined HOT 9
- Behind proxy! HOT 3
- Inherit strategy's overwritten getOAuthAccessToken function
- Will the refresh token has the same scopes authorization? HOT 1
- i can not pass the accessToken out of the refresh function HOT 2
- Github Refresh Token - Undefined - using passport-github2 HOT 1
- Use with passport-azure-ad HOT 5
- Looking for new maintainer HOT 2
- Behind Proxy HOT 2
- Nest Js Support HOT 1
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-oauth2-refresh.