Access Token is the last token acquired during the OAuth authentication process.
Questions tagged [access-token]
4002 questions
1
vote
2 answers
Connect to Spotify API with command line
I would like to retrieve information from the Spotify API with the command line, for example like this:
curl "https://api.spotify.com/v1/search?type=artist&q="
But when I do that I get:
{
"error": {
"status": 401,
"message":…

nacht-falter
- 143
- 1
- 8
1
vote
0 answers
How do I connect to the pterodactyl WebSocket with an access token
How can I connect to pterodactyl's websocket server to fetch the terminal of a server within pterodactyl, with the websocket wrapper library for Node.js – websocket. I have done the half by obtaining the access token with the account API key but I'm…

Marin Machev
- 11
- 2
1
vote
1 answer
Can Personal Access Token with limited scope be shared with other users?
I'm building a CLI which triggers an Action (using workflow_dispatch) in my repository. I'm using Github API to perform this task. Taken from the docs:
You must authenticate using an access token with the repo scope to use this endpoint.
I've…

Adarsh TS
- 193
- 15
1
vote
1 answer
Facebook wall post not working after access token key required
Im using a jquery script that grabs my posts from facebook and then displays on my site. Here is the code Im using:
http://www.neosmart.de/social-media/facebook-wall
Facebook now requires an access token in order to access your feed. So I created an…

John
- 9,840
- 26
- 91
- 137
1
vote
1 answer
Silent renew returning OAuthErrorEvent {type: "silent_refresh_timeout", reason: null, params: null}
After a call to the connect/authorize endpoint on silent renew it invokes silent_renew.html. but on the log its returning OAuthErrorEvent {type: "silent_refresh_timeout", reason: null, params: null}
I have an angular client.
with…

Haha
- 137
- 1
- 1
- 11
1
vote
0 answers
ASI request app with access token best practice, design pattern
I work with an app that interacts with the server on every screen.
I do not know before making the request if my token has expired, so sometimes they end up being rejected. In the meantime other requests are run, and they end up being rejected also.…

Zsolt
- 3,648
- 3
- 32
- 47
1
vote
1 answer
Is there a simple way to allow access to my website only through my Android application?
Is there like any method to only allow direct access to my website only from the Android application.
Any other requests coming from any where else being blocked or redirected to a restricted access page or similar.
Please do provide any ideas or…

Arren
- 33
- 1
- 11
1
vote
1 answer
Eclipse EGit with Github - How to input personal token safely when EGit does not prompt for password?
I'm switching from user/password authentication to token authentication with Eclipse EGit client and Github server.
Normally Eclipse EGit prompts for password where you can input your token safely.
My issue is that it tries to use the password that…

Sybuser
- 735
- 10
- 27
1
vote
1 answer
Powershell: Get-MsalToken error AADSTS7000218
Running the following Powershell command
$tokenresponse = Get-MsalToken -ClientId $clientID -TenantId $tenantID -Interactive -RedirectUri "http://localhost"
gives me the error:
AADSTS7000218: The request body must contain the following parameter:…

Matthias W
- 11
- 1
1
vote
1 answer
How to handle access tokens and API calls with Auth0 SDK?
I am using Auth0 for my authentication and what i understand so far is that i need to get the access token every time i want to make a call to my API with the getAccessTokenSilently() method and then put it in the Authorization Header. I want to…

Alexander
- 35
- 5
1
vote
3 answers
HttpInterceptor not adding new token to subsequent requests UNTIL after page refresh
I am using an Interceptor in my application, when the token is expired (401 returned), I want to refresh the token, save the new token to localstorage and then continue the request with the new token.
Catching the 401 error works, and I am able to…

Ojonugwa Jude Ochalifu
- 26,627
- 26
- 120
- 132
1
vote
1 answer
Access token + Refresh token right approach?
I'm trying to build RESTful API using NodeJS but having trouble understanding right way to authenticate user using tokens during api calls.
After reading some blogs and articles I came up with these approaches:
Approach 1:
Access Token(AT) is JWT…

Sudhir
- 312
- 1
- 4
- 10
1
vote
2 answers
Getting error for getting access token "HTTP method POST is not supported by this URL, StatusCode=405"
Getting issues for getting access token by using trigger and apex class. I am using "https://www.googleapis.com/auth/drive" as callback URL and endpoint of HTTP Request. My create folder method is working properly if valid access token is provided…

pranav
- 25
- 5
1
vote
0 answers
Subscribe not executing after getting fresh access-token in Angular 10
I have used access-token and refresh-token mechanism for authentication in API. when my access-token gets expired I am getting 401 Unauthorized error in APIs. so I am calling request which returns fresh access-token using refresh-token which is…

Ubiquitous Developers
- 3,637
- 6
- 33
- 78
1
vote
2 answers
How to use Azure Key Vault in npmrc file?
I have a secret personal access token (only for building purposes) in my .npmrc file. As this secret is exposed, I thought of replacing this using Azure Key Vault. I haven't found any documentation around it. When I created the personal token…

MasterMaddy
- 23
- 3