Comments (3)
You have full control of the session used, when you create an Authenticator instance you pass a sessionStorage object, use that same object to access the session from the cookie header and commit changes when you need.
from remix-auth-oauth2.
It's outside the scope of Remix Auth and the different strategies, Remix Auth focus is to let you know who is the user, if you need the access tokens you need to take care of refreshing it yourself.
from remix-auth-oauth2.
@sergiodxa since remix-auth-oauth2 is setting and controlling the cookie, is there some convenience method that helps me updating the refreshed access token in the cookie? Or do I need to edit the cookie directly?
Sorry if this is a bad question, I am new to remix.
from remix-auth-oauth2.
Related Issues (20)
- `refreshToken` type should be optional
- Correct the documentation - getUser() not found
- "Unexpected end of JSON input" error due to unimplemented response.clone in bun.
- "State doesn't match" race condition HOT 1
- `uuid` dependency or dev dependency? HOT 2
- Breaking error in 1.11.0 - Asked for scope that doesn't exist on the resource HOT 4
- Custom state object HOT 9
- Unusable behind proxy HOT 2
- Redirecting the user to the callback URL results in SyntaxError: Unexpected end of JSON input HOT 1
- Verify function does not work HOT 2
- Dynamic callbackURL HOT 4
- Error: Missing state on session HOT 1
- Missing state on session HOT 1
- state value is not removed when cookie based session storage is used
- OneLogin ERR_TOO_MANY_REDIRECTS after update to v2.0.0 HOT 5
- Allow setting redirectURI based on request object HOT 2
- Missing `client_id` HOT 3
- Issue getting token from Cognito token endpoint since upgrading to V2 HOT 2
- Error when authorization redirect uses same domain as Remix app HOT 2
- Clean way to retrieve strategy (or call revokenToken indirectly) HOT 2
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 remix-auth-oauth2.