A Refresh Token is a special kind of token that can be used to obtain a renewed access token —that allows accessing a protected resource— at any time.
Questions tagged [refresh-token]
999 questions
0
votes
1 answer
Angular HttpClient Interceptor : Refresh auth token
Here is my interceptor code
export class AuthInterceptorService implements HttpInterceptor {
constructor(private auth: AuthService) { }
intercept(req: HttpRequest, next: HttpHandler): Observable> {
const…

user3739018
- 2,489
- 3
- 16
- 25
0
votes
1 answer
OneLogin OIDC native application with PKCE refresh token expiry
When using OneLogin OpenID Connect, for a native application with PKCE, how do I set the refresh token expiry?
What is the default refresh token expiry?
Can I have an application on OneLogin that does not issue a refresh token?
From the…

Jeremy
- 695
- 5
- 7
0
votes
1 answer
Async Renew token in httpinterceptor if next.handle returns 401(unauthorized)
I'm using an HttpInterceptor to apply an access token to outgoing httprequests. The interceptor calls getUser() that returns Observable, adds the accesstoken to the requests. This all works fine and dandy. But what I now want is that if the requests…

emmep
- 87
- 1
- 10
0
votes
1 answer
Cognito IDToken Renewal using RefreshToken
Hi I am android application developer , I am using cognito authentication mechanism for mobile app. Once i authenticate my user i get RefreshToken and IDToken. According to Amazon cognito it expire IDToken after exactly one hour.I am trying to get…

Ali Akram
- 4,803
- 3
- 29
- 38
0
votes
0 answers
Not Able to generate refresh token for the first time, able to generate using multiple attempts on API (connect/token)
Trying to generate access_token using refresh token but getting invalid_grant for couple of times. However, the same API is giving the access_token after multiple attempts.
We are not facing this issue on our staging server where we have only one…

Dablu Yadav
- 11
- 2
0
votes
1 answer
Refresh token expire in 2 days in quickbook
Refresh Token for Quickbooks expiring after 2 day
Refresh Token for Quickbooks expiring after 1 day

UMDEVELOPER
- 89
- 11
0
votes
0 answers
IdentityServer4 PersistedGrantStore - How to store refresh tokens
I have implemented the IPesistedGrantStore in IdentityServer4 and am storing access tokens in a database. The Get method retrieves these access tokens correctly. The problem is with refresh tokens. How are they stored? For the access token I store…

Bob W
- 65
- 1
- 6
0
votes
0 answers
use refresh_token to create access_token
I want to create access_token using refresh_token with this code.