Access Token is the last token acquired during the OAuth authentication process.
Questions tagged [access-token]
4002 questions
1
vote
0 answers
Identityserver 4 introspection showing token status as active after sign-out
After I logout from identity server, I tried to access introspect using postman but I am getting status as active but after 5min only getting active status as false
https://localhost:5000/connect/introspect
I also tried to access API using the same…

leo
- 451
- 1
- 3
- 12
1
vote
1 answer
Microsoft JWT iss set to sts.windows.net even after changing accessTokenAcceptedVersion to 2
I created a new app service and set accessTokenAcceptedVersion to 2 in manifest.json as I am looking for a v2 token similar to here. However the accessToken generated by Microsoft always has an iss value of sts.windows.net when decoded. I would like…

arunmmanoharan
- 2,535
- 2
- 29
- 60
1
vote
4 answers
Facebook access_token problem
I use a request dialog in my app where the user can send requests to their friends. Once the user sends the request i redirect the app to a page where it posts on the users page. I use the below code to get an access_token:
$ch =…

Florian Shena
- 1,384
- 4
- 19
- 27
1
vote
0 answers
How to refresh token or increase expiry time in .net core using google authentication
My Auth middleware class is given below.
public class AuthMiddleware
{
private readonly RequestDelegate next;
private readonly AppSettings appSettings;
public AuthMiddleware(RequestDelegate next, IOptions…

Noufal netspective
- 101
- 1
- 1
- 8
1
vote
1 answer
Spotify — Get access token (for my own user) via Postman
How can I obtain a Spotify access token for my own user, but from Postman ?
I want to use Postman to fetch the access token from Spotify (without a preceeding manual log in).
If that's complicated, I would accept to manually log in first,
before…

Solid T.
- 11
- 1
- 7
1
vote
2 answers
How to get Access Token from Keycloak over SpringBoot?
I'm trying to get an Access Token from Keycloak over SpringBoot and did try the following example. But the KeycloakAuthenticationToken token is null.
Does someone know another approach to get an Access Token?
@GetMapping("/token")
public String…

midi
- 3,128
- 5
- 30
- 47
1
vote
1 answer
Get Azure Active Directory refresh token for ACR
I've been trying to use the AAD interactive authentication flow in order to list the images in a given Azure Container Registry instance (as detailed here), which requires both the AAD access token and the AAD refresh token in order to get the…

FitzChivalry
- 339
- 2
- 19
1
vote
0 answers
How to call karate feature file into karate-config.js file
I'm trying to call Access token API into karate-config.js file, and write a code to generate new token when token gets expired and use the token globally in all the feature files. Is there a way to call karate feature file into karate-config.js…

Amulya
- 11
- 1
1
vote
1 answer
What is refresh token and can we control refreshing the ID and Access token in AADB2C?
My team is working on implementing or rather configuring B2C login for our client's mobile app. We got the configuration setup to a point where the user can login to the app once and the token gets cached in MSAL. And next time onwards, the user is…

Naphstor
- 2,356
- 7
- 35
- 53
1
vote
1 answer
How to refresh tokens for gmail api programmatically?
I'm writing Cypress tests that need to run in CI and some of those tests require checking gmail. I followed the gmail api quickstart and used the provided program to generate a token that's saved to disk. The token is saved with this format:
{
…

Adnan Zaman
- 109
- 1
- 2
- 9
1
vote
1 answer
Invalid_grant after page reload Twinfield
I am currently trying to setup the Twinfield API. I believe I am almost there, almost...
I managed to retrieve an accessToken and a refreshToken, but somehow this works only on the first page load. After reloading the page I get the 'invalid_grant'…

Tom Roskam
- 23
- 5
1
vote
1 answer
Keycloak - receiving account service roles in JWT token, but expect custom roles
I use Keycloak to authenticate users. I have created new realm(Efairy-realm), client(efairy-backend) and new roles(user, moderator, admin). It looks like that:
Config 1 look like this.
Config 2 look like this.
The problem starts in access_token:
{
…

Mateusz Stanczak
- 11
- 3
1
vote
1 answer
Facebook Limited login and retaining the access token between sessions
Should the limited login store the access token for future session?
I'm transferring my iOS app from classic login to limited login. But I can't get the auto-re-login to work.
Re-login with classic works correctly as docs says. "The…

Hu Hund
- 31
- 4
1
vote
1 answer
itfoxtec-identity-saml2 Validate Token and Refresh token Implementation in .Net core 3.1
I'm very new to the Identity and we're using Itfoxtec-identity-Saml2 in our Application which is very developer friendly.
I'm able to retrieve the Token using the customized Implementation for GetToken(samlAssertionAttributes).
Could someone please…

codegladiator
- 21
- 3
1
vote
1 answer
DefaultAzureCredential: Graph access forbidden with VisualStudio Code Credential
I'm trying to read user properties from ms graph inside an Azure function.
For authentication I used the DefaultAzureCredential class from Azure.Identity.
Access with Shared Token Cache Credential locally and Managed Identity Credential in Azure is…

Jonas
- 25
- 5