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
-1
votes
2 answers
How to implement refresh tokens in angular?
I am trying to implement refresh tokens in my angular app. I have written an http interceptor which tries to get a new access token whenever I get a 401 error. I don't know why but this doesn't work. I am still getting a 401 response.

Nebex Elias
- 252
- 1
- 3
- 14
-1
votes
1 answer
How can I identify a user correctly during a refresh_token grant?
I have a central 'hub' containing the data for multiple organisations, each of which contain multiple users. Organisations and users are grouped together, along with 'client_credentials', under a 'Project'.
The user can authenticate using the…

Mark G
- 85
- 1
- 5
-1
votes
1 answer
How to reuse access Token for Get method? I want to make a call to a extended URL to receive data
I have the following code which gives me a Access token, now that I have finally been able to access a token I realized this token will expire, so what can I do to keep refreshing the token, and use it to grab vaules in my get method
Postman Image…

fay
- 13
- 9
-1
votes
1 answer
Why does Google Drive API / Oauth2 refresh token request, returns an error saying "SSL is required to perform this operation."?
i'm new to OAuth2 and it confuses me why my refresh token request gets a response of "SSL is required to perform this operation." when obviously we got an SSL free from DigitalOcean.
public function refresh_token($test = false){
$url =…

Nyuu
- 65
- 1
- 8
-1
votes
1 answer
Refresh Token in Reactjs redux application
i have react redux application
my issue when the token expired , i facing issue how to refresh the token and recall the api,
this code i call when i get any API in my app
First action I invoke it's getWithAuth() and in this way I'm handling refresh…

Zaher Zaki
- 131
- 1
- 2
- 11
-1
votes
1 answer
Which storage to use in OAuth2 AuthorizationServer java implementation for RefreshTokens
Which storage may be used for storing RefreshTokens (TTL=30min)?
This storage has to be used by multiple instances of OAuth2 Authorization Servers written in java.
The possible options are:
Hazelcast IMDG (written in Java)
Postgres (written in…

aalekseyev
- 133
- 1
- 10
-10
votes
1 answer
Is there any way to automatically refresh authentication token on Spring 5?
I am currently working on a Spring application that when triggered, will send a POST request to an API endpoint. I am using Spring framework 5, with Rest Template used to create and execute the POST request. Currently I am saving the token locally…

Andreas
- 2,455
- 10
- 21
- 24