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
3 answers
Unable to locate the refresh token with Microsoft Graph
I was looking here about refresh tokens.
I have this code to get a access token:
if(bPromptUser)
{
_AuthResult = await PublicClientApp.AcquireTokenAsync(_scopes); //Opens Microsoft Login Screen
using (RegistryKey key =…

Andrew Truckle
- 17,769
- 16
- 66
- 164
0
votes
1 answer
I am getting error when trying to refresh the access token
When the access token expires I am using a command following to this in order to get a new one:
curl -i -H "Content-Type: application/x-www-form-urlencoded" -H
"Accept: application/json" -H "Authorization: Basic THE CODE" -H
…

Ara Gasparyan
- 79
- 7
0
votes
1 answer
Websocket refresh token
i'm currently developing a multiplayer turn base card game with Unity. The multiplayer architecture will be using websocket (NodeJS Socket.IO) and for the security wise, i'm using JWT with refresh token after access token expired.
Everytime when i…

user5509129
- 21
- 4
0
votes
0 answers
Asp.NET Web API - Multiple requests during access token refreshing - Unauthorized 401
I have an application that makes multiple requests to an API to render parts of the page.
When the user's access token expires the first request sends the refresh token, gets the new access token and updates the cookie storing it, but as the…

Mr. Mister
- 111
- 1
- 5
0
votes
1 answer
ADAL4j java - use refresh token with username and password to get the access token
I am connecting to Azure AD enabled API using java back-end server. I am able to get the Access Token by following java code.
String tenantId = "************";
String username = "***************";
String password = "*************";
…

Tanimak
- 134
- 1
- 9
0
votes
1 answer
Azure AD using refresh token to access access token using javascript
I am using Azure AD to fetch access token. I am using Javascript and HTML to get user logged in and on successful login I got access token and expire time. Now I am looking forward to get the renewed access token on completion of expire time, I…

Manoj Kumar Singh
- 29
- 2
0
votes
1 answer
why shouldn't we use the access_token as the refresh_token
I understand that the authentication process with access/refresh tokens works like this:
Exchange username/password for refresh_token
Use refresh_token to get access_token
Use access_token for requests (no DB call needed)
If access_token is expired…

Chris
- 13,100
- 23
- 79
- 162
0
votes
1 answer
AWS Using refresh token Javascript
Are there any examples on how to use the refresh token to get a new idtoken on aws cognito?
I´m trying to use http://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html
But then, it requires "developer…

Luiz Henrique Martins Lins Rol
- 2,501
- 5
- 30
- 43
0
votes
1 answer
Instagram API access token refresh?
I'm not sure if this is just exclusive to google API's and this is not plausible, but in the OAuth google developers playground, one can give in an access token and receive a refresh token which never expires. I for one have done this and…

Luca Sarif
- 142
- 2
- 13
0
votes
1 answer
Cognito reset session from server-side
I am curious if I can reset user sessions that is generated from mobile-end or front-end in a server.
My friend is working on iOS development, but he is having difficult time to make reset session function in his end. As a workaround, what I am…

supergentle
- 1,001
- 1
- 14
- 33
0
votes
1 answer
Ionic 2 retrying API call with new access token if unauthorized
I have an ionic 2 app that uses access tokens to authenticate to an API. If an access token expires, it can be exchanged for a new access token using a refresh token.
There is a function handling an API call that returns a promise. If the API call…

Marco Orlando
- 70
- 2
- 8
0
votes
1 answer
How to use Refresh token of firebase
What is the expiry time of refresh token? Can I get new token if used with refresh token. If yes Is there any time limit for refresh token .

Maria Joseph
- 51
- 1
- 9
0
votes
0 answers
Client Id and Password for Refresh Tokens
I'm reading about refresh tokens: https://auth0.com/learn/refresh-tokens/. I'm building an Authentication Server (AS) myself.
To get a refresh token from a email/password authentication, the client app sends 4 pieces of information:
client…

jeanpaul62
- 9,451
- 13
- 54
- 94
0
votes
1 answer
Android OAUTH: Refreshing my token
In my Android application, I'm using OAUTH to authenticate with a service. When I authenticate I get an access_token and a refresh_token; pretty standard.
The access token expire every hour, and you need to use your refresh token to get a new access…

Josh Beckwith
- 1,432
- 3
- 20
- 38
0
votes
1 answer
googleapis oauth2 token API not returning refresh_token
I am trying to generate an access_token and refresh_token to access the google spreadsheets APIs. I have used the API…

ShwetaJ
- 462
- 1
- 8
- 32