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
Using a refresh token in AAD B2C with Azure App Service and Xamarin.Forms
I'm trying to get a refresh token set up in my Xamarin.Forms app using AAD B2C. I've got everything set up but run into issues when calling LoginAsync on my MobileServiceClient. All of the docs and examples I can find show to update my LoginAsync…

Marcus
- 5,407
- 3
- 31
- 54
0
votes
1 answer
Azure Active Directory Token + Refresh Token
I'm using Active Directory for user access to our app (I've created an app and registered it in AD) but having trouble getting a refresh token from the token response.
In Startup.cs I define the Open Id Connect…

Colin
- 2,442
- 5
- 24
- 30
0
votes
0 answers
Google OAUTH2 no refresh_token received
I am using emberjs and i could get this response from https://www.googleapis.com/oauth2/v4/token
{
"access_token": "snip",
"token_type": "Bearer",
"expires_in": 3600,
"id_token": "snip"
}
but i am never getting refresh token not even on first…

Naveen S
- 53
- 9
0
votes
1 answer
OAuth2 Access token remain active during active session
We have a secure app which needs a very short access token validity period (for example, 15 mins). We would like the access token to remain active while the user is active and making API calls. However, once there is 15 mins of inactivity it…

dmorrow
- 5,152
- 5
- 20
- 31
0
votes
0 answers
refresh_token implemented using web api 2 is not coming in the token response consistently
I have implemented Refresh Token to refresh access_token using the link http://bitoftech.net/2014/07/16/enable-oauth-refresh-tokens-angularjs-app-using-asp-net-web-api-2-owin/ and when the code is deployed into load-balanced server, sometimes…

Manideep Yechuri
- 293
- 1
- 3
- 14
0
votes
1 answer
How do I refresh a Refresh Token
Sorry for the simple question I just keep finding examples of "how to use them" not "when to use them"
Basically I have the code done for creating the refreshToken and destroying it
// Compare token in the database and create a new access…

Datsik
- 14,453
- 14
- 80
- 121
0
votes
2 answers
Auth0 /oauth/access_token obtain refresh_token mobile app?
I'm using Facebook SDK in my React-Native mobile app and I manage to get a token that I exchange with Auth0 on /oauth/access_token to retrieve an id_token that I can use as jwt to authenticate with my API.
The problem: that endpoint doesn't return…

mtt
- 1,697
- 1
- 15
- 20
0
votes
2 answers
Auth0 - get id_token from refresh_token
In our 7+ microservices we rely on the Auth0 id_token. When exchanging a refresh_token (POST myapp.auth0.com/oauth/token) I only get back an access_token and not a id_token.
How do I exchange a refresh_token for an id_token with Auth0's API?

Jeff
- 12,085
- 12
- 82
- 152
0
votes
0 answers
Including Device ID in Bearer Token
Is it Possible to somehow include Device_ID and information about the device in Bearer token Claims, or is this only Possible through a BYOD MDM subscription?
I have read about this for some while now and haven't found anything to make this happen,…

H4p7ic
- 1,669
- 2
- 32
- 61
0
votes
1 answer
How to generate unique id for the web browser?
I want to implement unique id for the web browser using C#. It must be consider all the browser and the incognito windows too?
How to generate?
My scenario
I am using the angularjs with web api token. I have included the refresh token too.
After…

Jeeva J
- 3,173
- 10
- 38
- 85
0
votes
0 answers
WebAPI Authentication with access token and refresh token
I have a ASP.NET MVC application using Forms Authentication against a custom database Users table.
I need to add a series of Web API controllers for a mobile app to interact with the web application.
For the authentication, i need to generate and…

AdrianD
- 279
- 4
- 20
0
votes
1 answer
When renewing id_token via refresh_token in Auth0, jti (JWT ID) not in new id_token
When logging into Auth0:
POST https://my.auth0.com/oauth/ro
{
"client_id": "",
"username": "me@gmail.com",
"password": "••••••••",
"connection": "",
"grant_type": "password",
"scope": "openid…

enamrik
- 2,292
- 2
- 27
- 42
0
votes
2 answers
Do I need to refresh the access token when using Microsoft Graph and How to do it?
I'm using Microsoft Graph SDK for my iOS Application.
Do I need to manually refresh the access token when it expired?
The access token I'm talking about is:
NXOAuth2AccountStore.sharedStore().accounts[0].accessToken
I have tested that I can still…

Tran Quan
- 1,056
- 15
- 28
0
votes
1 answer
Identity server 3 refresh token issue when deployed in Azure
I have an instance of Thinktecture's Identity Server v3 in Azure hosted as WebApp. In general, it works as expected but I have some issues trying to use refresh token through the token identity/connect/token endpoint with the refresh_token grant…

user2128702
- 2,059
- 2
- 29
- 74
0
votes
3 answers
Passport Password Grant Tokens Refresh
I perform the steps described in this Questions:
Laravel's 5.3 passport and api routes
Everything works fine from the routes of the api, I can register new users, read their data etc etc.
Then add this command on…

Juan Ibarra
- 579
- 6
- 16