Access Token is the last token acquired during the OAuth authentication process.
Questions tagged [access-token]
4002 questions
1
vote
0 answers
What is the benefit of calling google web app with access token and what are the disadvantages of not using it
client (imitating google sheets add-on) :
function getReqParam(type){
//DriveApp.getFiles() - commented row needed for the Drive scope request
let data = { param2: "value2" ,param1: Session.getActiveUser()};
var params = {
method: type,
…

OJNSim
- 736
- 1
- 6
- 22
1
vote
0 answers
Unable to figure out the encoding/encryption used
I am new to backend service and I was tracing API calls from a banking website. Normally, I have seen parameters in POST requests being encoded with base64 encoding. However, I came across a type of request where the date was encrypted with a type…

Roadblock
- 2,041
- 2
- 24
- 38
1
vote
1 answer
Using GitHub access token publicly
I need to use GitHub access token publicly but somehow restrict it to my site.
The use case:
I have created a portfolio web page that pulls some information from Github. Some of the information I need require an access token. I can generate an…

Ram Alsaifi
- 13
- 3
1
vote
1 answer
C# Consuming web service wsdl with access token
I'm trying to consume a WSDL web service and it requires an access token to be sent in the header. However, I keep getting a 401 error and I'm not sure if I am injecting the token correctly.
Heres a snippet of the code:
var client = new…

Kevin Jones
- 419
- 1
- 6
- 21
1
vote
0 answers
Get Failed resolution of: Ljava/time/Duration; when getaccesstoken google credentials in android
I'm trying getAccessToken gg credentials in viewmodel and I get error:
Failed resolution of: Ljava/time/Duration;
I searched on gg but not find any useful information. Please help if you know. Thank you very much. Here is my code:
class…

Khánh Nguyễn Kim
- 31
- 6
1
vote
1 answer
OAuth 2.0: In the authorization code flow, who eventually hands the access token to my web browser?
I am learning OAuth 2.0.
In OAuth 2.0, the term “grant type” refers to the way an application gets an access token.
In the Implicit Flow, the authorization server will redirect the browser back to redirect_uri specified by the application, adding a…

Kid_Learning_C
- 2,605
- 4
- 39
- 71
1
vote
1 answer
PHPleague oauth2.0 Client Error when accessing with post request in access_token
I am currently working on a web feature which is the implementation of an oauth2 server via phpleague. I think I did well on the design of my server but I do not know why the client displays an error that I do not understand.
My client…

Bryton
- 41
- 5
1
vote
1 answer
Change AWS Cognito User Pool token expirations from my own backend
I'm aware that the token expirations can be changed in the AWS Cognito Console -> General settings -> App Clients.
Now, is it possible to change the token expiration from my own backend, that is to create an endpoint that will accept value for the…

Tajib Smajlović
- 41
- 4
1
vote
0 answers
Getting Bad Request 400 while requesting for access token from refresh token Reddit API
Initially i'm getting access token for reddit api by using payload={'grant_type': 'client_credentials', 'duration': 'permanent'} and this gives me access_token as well as refresh token and by using this refresh token, request for access_token but…

Zain Nagi
- 11
- 1
1
vote
2 answers
Is it right to put the user's identifier in the payload of the access token(JWT)?
I am currently developing financial services as a personal project.
In order to strengthen security in the project, it is designed and implemented to process authentication at the gateway stage using AWS API Gateway.
I tried to log in using a mobile…

Jun
- 451
- 4
- 16
1
vote
3 answers
Am I to store a facebook user's offline_access token in my users database?
I am making a web application where I get a user's information from his/her facebook api after he/she logs in with facebook to use my web application.
I have PHP code that succeeds in getting an offline_access access_token from a user when he/she…

Marina
- 3,222
- 5
- 25
- 35
1
vote
1 answer
Why can't my iOS app authenticate with AgoraRtcEngineKit using tokens created by a Node.js Agora Token Server?
PROBLEM SUMMARY
My goal is to use an iOS app written in SwiftUI to connect with AgoraRtcEngineKit. I want to create an app that is audio-only and allows a host to broadcast audio and allows listeners to listen in.
The use of tokens is required by…

GW1732
- 43
- 1
- 6
1
vote
1 answer
Azure AD getting Access token - Bad Request
I have an app registered with User.read and User.ReadBasicAll API permission and I'm trying to get the access token via the authorization code grant. I get the authorization code after user consent but when I try to get the access token, I always…

Ashish Gupta
- 14,869
- 20
- 75
- 134
1
vote
2 answers
Facebook PHP SDK - Remove/expire permissions and app from a user's profile
I'm currently working on adding Facebook integration into a website of mine via the PHP SDK. I'm requesting and planning to use the offline_access permission so I'm storing the access_token in a database. However, I'm giving the user the option to…

joshholat
- 3,371
- 9
- 39
- 48
1
vote
1 answer
Refresh Token GCP
How can I get a Refresh Token from GCP?
I already got the Client ID and Client Secret from OAuth Client ID, but I can't find any Refresh Token from the credentials?

MADFROST
- 1,043
- 2
- 11
- 29