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
2 answers
Does Google wait for an infinite refresh_token for cloud partner calls?
I'm working today on a partner environment related to Google Home.
Concretely, when I use google home to give orders on devices, Google calls my API to execute them (as it does with Philips Hue, Netatmo etc ...).
My problem is this: I use keycloak…
0
votes
1 answer
OAuth Client Credentials Reissue Access Token vs. Refresh Token
Read through a few similar posts in regards to the purpose of Refresh tokens in Oauth 2 flows, and they make sense for user attended authentication such as username and password, but for the Oauth2 client credentials flow, why risk utilizing a…

S.B.
- 437
- 2
- 6
- 19
0
votes
0 answers
HttpInterceptor refresh token
Status of my application is getting wrong.
it's getting status 401 with the token_expired error
but in the HttpInterceptor it's receiving status 0 without the error (token_expired)
refresh-token.interceptor.ts
constructor(private injector: Injector)…

Herick
- 217
- 1
- 3
- 13
0
votes
1 answer
spring security oauth2 JWT refresh token returns "Authentication failed: invalid_token Cannot convert access token to JSON"
I have implemented spring-security-oauth2 using JWT and the initial authentication and the request for resources works normally, as does the token enhancer. When I attempt to get a new JWT using the refresh token I get the error "cannot convert…

Lorenzo
- 61
- 1
- 8
0
votes
1 answer
Acquire refresh tokens using ADAL
I wrote a console ASP.NET app to acquire accesstokens. I have clientId,client secret of my app and i do the following:
var authContext = new AuthenticationContext("https://login.windows.net/common/oauth2/authorize"); var acquireTask =…

Dev
- 207
- 2
- 3
- 12
0
votes
0 answers
Azure Active Directory app refresh_token expiration
I've been building Azure Active Directory apps for years to use Oauth2 authentication, and to be able to access my users emails or agenda.
From what I remember from apps I was developing about 1 year ago, the refresh_token returned in the Oauth2…

Nico
- 1,580
- 14
- 21
0
votes
1 answer
Angular interceptor 401 refresh token
Ok, this should be an easy thing to solve, but because of how the app was previously designed it is a little more complicated. Most of the answers I find don't work out for the problem I am trying to solve.
Essentially, I intercept the API calls and…

David Karasek
- 348
- 3
- 16
0
votes
1 answer
Is the refresh token provide by firebase the same refresh token from google?
thanks to take time and give me some help
This is my situation:
I have a web application that use google calendar api, but the user let say userA only have access to read the calendars, to create an event in the calendar I have to impersonate the…

Diego Curbelo
- 11
- 1
- 3
0
votes
1 answer
Gmail Oauth2 required accesstoken and refreshtoken using java
I want to create a java application which automatically send email, so i am using Ouath2, first I am trying to get accesstoken and refreshtoken with my clidet id and secret id but i am not able to get access token please suggest me on this. to get…

VyTcdc
- 986
- 10
- 32
0
votes
1 answer
Is this user authentication process reasonable?
I've been developing RESTful API server communicating with cross-platform clients such as Android, iOS, Web browser, and so on.
When a user login successfully by username and password, this server issue an access token(JWT, 5 minutes) and a refresh…

hardyeats
- 15
- 1
- 4
0
votes
1 answer
Angular refresh Token
I'm trying to implement RefreshToken functionality for my Ionic App. But apparently the function never executes .flatmap or .mergeMap. And I'm getting my old 'token' and 'refreshToken' from local storage. The API consumes following format.
{
…

AkshayP
- 106
- 1
- 9
0
votes
1 answer
Angular 6 double subscribe issue
I'd like to issue a refresh token API call when an idle timeout ends in my app...
My incorrect code for doing so is:
idle.onIdleEnd.subscribe(() => {
console.log('idle end reached');
if (this.authStore.isAuthenticated()) {
…

RandomUs1r
- 4,010
- 1
- 24
- 44
0
votes
0 answers
Invalid_grant error when doing a Refresh_Token
In IdentityServer4, I am using the HybridAndClientCredentials grantType for my client. When the token expires and the refresh token request fires, I get invalid_grant error. See the logs below for the request
Logs
> 11:14:56 Debug]…

Kacey Ezerioha
- 1,068
- 4
- 22
- 46
0
votes
1 answer
How to generate refresh and access token for Windows phone app
I have a windows phone 8 app and I'm trying to do Google Auth.
I get to the sign-in page and after signing in it takes me to the consent page.
After Clicking on Allow access, I am not getting the access token and refresh token in response.
Response…

Mars
- 269
- 1
- 3
- 22
0
votes
1 answer
Can't refresh access token for Google Calendar API on server side
My client application on iOS authorizes the user and receives the access token and the refresh token and sends it to my server, where it is stored in the database.
The server connects to the calendar and get the events.
The problem is that the…

Artemius Pompilius
- 49
- 4