Refresh Token #19
Replies: 1 comment 1 reply
-
Hello,
import { LocalStorageStateStore, OIDCClient } from '@plusauth/oidc-client-js'
const myOidcClient = new OIDCClient({
// other options...
authStore: new LocalStorageStateStore('myapp.'),
}) Note that, using local storage is not advised, but if your provider supports rotating refresh tokens it would be more secure. |
Beta Was this translation helpful? Give feedback.
-
I hope this message finds you well. I am writing to seek clarification on the token refresh mechanism in your authentication system and the configurations required for its proper functioning.
1. How does the token refresh work?
I would like to understand the underlying process of token refresh. Specifically, does the token refresh happen automatically, or do I need to trigger it manually through a specific API endpoint or function? Could you provide an overview of the workflow involved in token refresh?
2. Configuration for Token Refresh:
Are there any specific URLs or configurations that need to be set up during the authentication creation to enable token refresh? If so, could you please provide guidance on what parameters or settings are required to ensure a smooth token refresh process? Any insights on best practices or recommendations for these configurations would be greatly appreciated.
3. Parameters Involved:
It would be helpful to know what parameters are involved in the token refresh process. Are there any specific parameters that I need to include when initiating a token refresh request, or are these parameters managed automatically by the system? Understanding the key parameters involved will assist me in implementing token refresh correctly.
I appreciate your time and assistance in providing insights into the token refresh mechanism and its associated configurations.
Beta Was this translation helpful? Give feedback.
All reactions