Questions tagged [auth-token]
132 questions
1
vote
0 answers
use AuthToken from AccountManager for Google Client API requests
I want access the Google Drive account from a user. I get a token from the AccountManager on Android.
I added the Client Library and Drive Library from Google to my project and want to send requests with the received token to the Google service.
How…

Basic Coder
- 10,882
- 6
- 42
- 75
1
vote
0 answers
How to android receives authToken
Where to find the source code for getting AuthToken.
In the folder with the android source (core/java/android/accounts), I found the code only works stored in a database and extracts from it.
But I am interested in the code that makes a request to…

a1ien
- 143
- 1
- 7
0
votes
1 answer
Facebook authentication mechanism changed?
My application is running within an IFrame and has been running fine for month. Since last week, the main page keeps refreshing because it looks lie the parameters auth_token and fb_sig_session_key are not provided to my iframe content anymore.
Has…
0
votes
1 answer
Are Auth Tokens App Specific?
I'm in the process of developing an app that will allow users to perform a lot of the same actions of our website (slimmed down, of course) but we're also toying with the idea of adding a facebook login FOR our website. From what I've read,…

Matt Muoio
- 13
- 3
0
votes
1 answer
Auth token facebook php error
It's weird because on my canvas page for my facebook app I get all these php errors about my auth_token and then it redirects and works as it should. Can someone help me figure this out por favor? Heres my php code at the top of the page:
…

Trey
- 394
- 1
- 4
- 17
0
votes
0 answers
R, httr2 login with pwd and token auth
I'm trying to use httr2 in R to access an API behind a SSO server. I've been given a way to do it with python and I just can't get beyond the login page in R. This works in python:
import requests
from bs4 import BeautifulSoup
# URLs
login_url =…

Tim
- 79
- 8
0
votes
0 answers
Running API using R to get the authentication token from a server
After running the API I am getting "NULL" authentication code.
JSON data input format is:
data={
"list":[
{"response": {"appId":"appID","userId":"userId","userPwd":"password"}},
{"selectParList":{}},
…

anibhat
- 1
- 1
0
votes
0 answers
Generate Auth token using API + client certificate with password using playwright tool
In this we are Sending HTTP request with parameter as client certificate and password to get the Auth Token from server. we are doing this with playwright tool in typescript lang.
Getting Error like- 400 Bad Requests
import { test, expect } from…

EDUSTAR
- 1
0
votes
1 answer
Can you cap the amount of messages that can be sent in a given time period in Twilio?
I want to self impose a SMS limit per month in Twilio. I see this as a safeguard in the event that my Authorization Token is compromised somehow. That way only so messages would be able to be sent before getting cut off. Is there a way to do this in…
0
votes
0 answers
How to set up an authorization token in localStorage in Nuxt so that it disappears at the end of the browser session?
The site uses the standard nuxt authorization with the use of cookies and localstorage.
When logging in, the user has the "Remember me" checkbox, respectively, if it is disabled, it is expected to log out of the account at the end of the browser…

Алексей Марков
- 13
- 2
0
votes
1 answer
Not Able to Login Without giving auth token in the header
This is a todo list web app, I have used nodejs and reactjs in it
I am not able to use the login feature , It shows me the error : invalid token
I have tried hard coding the token (which generates on the sign up) and that way it worked. But with…

Ashi Singh
- 1
- 2
0
votes
1 answer
C# How can I mark a URL invalid/obsolete?
I have a URL something like below. The URL gets generated each time, basically links are ephemeral. I want to mark this link as obsolete/invalid once it has been accessed in a browser. The second time when we access this URL, it should say invalid…
0
votes
0 answers
aws-runas issue: unable to determine client provider type
For some reason, there is an issue in aws-runas with the below config.
[default]
output = json
region = #####
aws_api_key_duration = 1h
saml_auth_url = #####
federated_username = #######
saml_provider = azure
saml_username = ######
[profile…

DKT
- 41
- 5
0
votes
0 answers
Refresh auth token in Ktor while using koin
I was using Koin as dependency Injection library to create the ktor HttpClient:
val AppModule = module {
single { provideClientService() }
}
fun provideClientService(preferences: SharedPreferences): HttpClient {
install(Auth){
bearer {
…

Maryam Memarzadeh
- 176
- 2
- 9
0
votes
1 answer
How to check if google authorization token expire or not
I have generating Google auth token.But how can I know if token expire or not.I am not getting expires_in in $token, Just getting id_token
putenv('GOOGLE_APPLICATION_CREDENTIALS= PATH_TO_JSON_FILE');
$targetAudience =…

patel887
- 167
- 1
- 11