refresh-token Questions
2
Solved
I was doing react native app and using OAuth2 and get access token, refresh token and expire in time when I log in my App. I checked my token expire in time when I send a request (GET, POST). If my...
Spiegeleisen asked 18/2, 2020 at 2:21
2
I am currently implementing Contact Application using Google Contact API in Java. I have completed steps of authorization and obtained an access token and a refresh token.
Now I have the CLIENT_ID...
Fisherman asked 18/6, 2018 at 6:33
2
Background
I'm testing Implicit Flow auth in my React app and trying to implement so-called Silent Refresh capabilities, where I periodically ask for a new access token while the user is logged in...
Bragg asked 31/12, 2019 at 18:15
0
I am having a .NET Core 2.1 Web API project using OpenIddict.
TLDR: Following the example given here, I need the sample for performing the logout request to invalidate/logout the refresh token an...
Leticialetisha asked 30/12, 2019 at 18:28
3
I've got access_token from Azure Ad V2.0 endpoint to call Graph Api. But I have to do some actions in the api on behalf of user. So I need refresh_token to renew my access_token when it'll expire. ...
Asclepius asked 23/2, 2018 at 16:16
2
I want to store an oauth refresh token in the browser. The reason I want to store it there is so that the app can refresh the access token and let the user continue their session uninterrupted. I a...
Lupercalia asked 28/10, 2016 at 16:50
1
I'm trying to receive refresh_token for my Ionic app, I successfully receive access_token.
I receive code (authorization_code or access_token) from endpoint https://accounts.spotify.com/authorize...
Euchromosome asked 23/8, 2019 at 0:7
1
I have created an API in Azure API Management to get data from a backend API. The backend API uses oAuth2 with an access token that expires in 10 minutes. With a returned refresh token you can get ...
Amitosis asked 18/3, 2019 at 12:26
1
Solved
I am trying to implement Token Based Authentication through refresh tokens and JWT in .NET Core 2.1.
This is how I am implementing the JWT Token:
Startup.cs
services.AddAuthentication(opti...
Herl asked 13/3, 2019 at 19:45
1
I have a situation:
Step 1: Obtained access token (grant_type=password) (A1) and also a refresh token.(RT1)
Step 2: Accessed resource (R) using the token (A1) - Success
Step 3:Revoked user acces...
Panache asked 29/8, 2018 at 8:54
1
Solved
I'm not sure I understand the concept of refresh tokens. I know what they do - store them somewhere and whenever the access token expires, get a new access token with them.
It is obviously very im...
Amandine asked 15/11, 2018 at 17:3
1
I'm using googleapis package from node to get refresh token and access token from auth code passed from front-end but every time I get the following error.
{
error: 'redirect_uri_mismatch',
er...
Ihab asked 9/10, 2018 at 18:55
1
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 calend...
Bookstall asked 22/10, 2018 at 11:46
0
I'm creating a Google Chrome extension which adds upload buttons to images on Instagram profile pages. The service the extension will be uploading to is Imgur.
Since I'll eventually want users to...
Angieangil asked 11/10, 2018 at 18:45
1
Solved
I'm testing with AWS's Cognito. At this point, I can get back my IdToken, AccessToken, and RefreshToken like this:
$ aws cognito-idp admin-initiate-auth --user-pool-id us-east-1_XXXXXXXX --client-...
Trevor asked 24/4, 2018 at 12:6
1
I am using reactjs, mbox and axios and ran into a problem. I have a api that gives out an access token and a refresh token. The access token dies every 20mins and when this happens the server sends...
Villosity asked 19/8, 2018 at 7:5
1
Solved
I using access tokens and refresh tokens to authenticate my users for my asp.net core 2 api.
When a user physically clicks the logout button, I clear the local storage that contains the access tok...
Elephus asked 19/7, 2018 at 18:28
2
Solved
I'm new at IdentityServer4. I read I need to implement an IPersistedGrantStore to store refresh tokens into a table like PersistedGrants in my database.
IdentityServer logs is the following when m...
Geostrophic asked 15/11, 2017 at 15:17
1
I'm having a hard time understanding the use of refresh tokens when using JWT's with naturally insecure clients (browsers, mobile phones, etc.).
To me, it seems naive to think that if a JWT has be...
Epicureanism asked 29/1, 2018 at 19:3
1
Solved
So I just spent the last few days trying to figure this out and am asking this question so that I can answer it for other people who are having problems.
First, the google documentation is TERRIBL...
Poppied asked 13/1, 2018 at 18:3
1
Solved
I am using laravel/passport password_grant for authentication. The whole generating access_token and refresh_token process is working fine. Now I am trying to use laravel passport token events to r...
Northernmost asked 10/11, 2017 at 5:25
2
Solved
I have a web api project based on .net core 2.0.
I followed pretty much the very good example on http://kevinchalet.com/2017/01/30/implementing-simple-token-authentication-in-aspnet-core-with-open...
Compressor asked 10/10, 2017 at 17:29
0
Hello fellow programmes,
I am stuck on the issue with keycloak. I am trying to send from node.js express framework request towards keycloak to logout the user.
Config.keycloakClient = my_realm
Con...
Tisatisane asked 29/9, 2017 at 12:46
2
I'm currently using the following code to rethrow a request that returns a 401 from my API:
responseError: function(rejection) {
var authData = localStorageService.get('authorizationData');
if (...
Pedroza asked 28/7, 2017 at 22:58
1
Solved
In my application, I return an access token and a refresh token when a user logs in successfully. The expiration times for access and refresh token have been set to 10 and 40 minutes respectively. ...
Vivisectionist asked 7/7, 2017 at 17:34
© 2022 - 2024 — McMap. All rights reserved.