Questions tagged [auth-token]

132 questions
1
vote
0 answers

Expired Auth Token for YouTube

I have read this http://code.google.com/apis/youtube/2.0/developers_guide_protocol_oauth2.html my problem is I need code in C# .net what will return Expired Token for Youtube account. But I could not understand what parameters i need use in my…
Tanya Filipovich
  • 53
  • 1
  • 1
  • 5
1
vote
0 answers

cy.session() with cy.request() does not log in user

I set up (in my cypress commands): Cypress.Commands.add("loginByApi1", (username1, password1, TrackingId1) => { cy.session([username1, password1, TrackingId1], () => { cy.request({ method: 'POST', url:…
1
vote
0 answers

using environment variable instead of PAT in .npmrc file

I am trying to not use my PAT stored in the .npmrc file that is checked into the root of my repository. Right now, I have a GitHub Actions workflow setup that publishes a package to our GitHub package registry. Everything works well as long as I…
1
vote
1 answer

React refresh token interceptor

I have a problem with refreshing a token. After I updated the token, a request should be made with my configurations, but this does not happen. The token is updated, but the second time the getIserInfo method is executed, it does not work. My axios…
1
vote
1 answer

How to authorize into Azure API

I'm trying to send request into Azure Test API using the personal token I generated at ~/_usersSettings/tokens. I add "Authorization": "Bearer " header to my GET request, but it results in 401 response with an error "TF400813: Resource not available…
JohnDiGriz
  • 171
  • 13
1
vote
0 answers

Facebook SDK 5+ authentication token error: A connection attempt failed because the connected party did not properly respond after a period of time

I have an issue I have been trying to fix since this morning (now over 8h). I got the facebook cookie contents, found the auth token which works fine on its own in the…
1
vote
0 answers

Firebase Auth Refresh Token?

How do I get access to the refreshed token in Firebase Auth? I'm building a React app, and on the signin button click run Login function. This function gives me a Google API token which I use to access google drive api. The problem is that is token…
1
vote
1 answer

NPM read-only tokens keep getting deleted

Why do my read-only tokens keep getting deleted from npm's site? Repro steps: I create a new read-only token using npm's web portal: It is successfully created. I then store the token in my command line config (.zshrc in my case) export…
cutmancometh
  • 1,677
  • 3
  • 20
  • 28
1
vote
0 answers

Two different models in django rest framework

Iam new to django rest framework. I have created two registration models - user model and doctor model. Now trying to create lopin API. How to achieve two different models under 1 API. Please suggest me in validating login credentials of user and…
1
vote
2 answers

get auth token using dj-rest-auth when user logged in

Previously I was using django-rest-auth package and I was getting the auth token when user log in in response response.data.key and this auth token or key was working fine with the api calls as authentication auth Previously for…
1
vote
0 answers

One Drive API 404 (Not Found)

I am using a registered app to create/modify/upload folders and files one one drive business account through Graph API. I have everything set up and working when copying the AuthToken from Graph Explorer directly into my code. When I create the…
1
vote
1 answer

Django caching simple auth token

I have an app which uses Django DRF with simple AuthToken, Postgres for database and Redis for caching. I am trying to reduce the number of calls to my DB and one of most common action is SELECT on AuthToken table. In fact, it needs to be called for…
1
vote
0 answers

Google API Refresh Token and Access Token Questions (Java BE + Web App)

I want to do something very similar to this tutorial, in which I'm getting the authCode from web client and sending that authCode to a Java BE app to get credentials of an user and then, using the credential to gain access to google sheet api to…
1
vote
1 answer

InvalidAuthenticityToken error when using token based authentication in devise

I've enable token based authentication (token_authenticatable) in devise in my rails app and it's working well. Now I'm making an android application that uses the web service provided by this rails app. It stores the devise auth_token after first…
bala
  • 415
  • 3
  • 13
1
vote
0 answers

Getting "DoesNotExist at /api/accounts/register Token matching query does not exist." response when registering an account

I'm creating a Django back-end with token authentication. I am currently running into this issue when registering a user using postman. Despite the response I receive the user-account and token still gets created successfully. Response: DoesNotExist…
Liam West
  • 11
  • 4
1 2 3
8 9