Questions tagged [auth-token]

132 questions
5
votes
1 answer

C2DM Auth Error

I have an C2DM based application, which works fine, but recently I am getting Auth Error although I am getting the RID(Registration ID) and the message is being sent. Recently I read that Client Login keys are about to expire (Apr 30th), may be…
gaurav
  • 99
  • 5
4
votes
2 answers

permission classes IsAuthenticated not working in DRF

I've used token authentication, and it's working fine i.e. it is authenticating a user and then the user is logged in. But in my views I've set permission classes to IsAuthenticated for one of the views, and it is not allowing to the user even if he…
3
votes
0 answers

truecaller web api not returning auth token

I am using true caller apis to fetch user data from the true caller database. As per TrueCaller's Github documentation,I have used the below code to do the authentication curl -X POST -H "Content-Type: application/json" -H "appKey:…
Neeraj
  • 231
  • 1
  • 3
  • 10
3
votes
2 answers

State information lost : SImpleSAMLphp

I have configured SSO using SimpleSAMLphp and ADFS. It works perfectly well when store.type is phpsession, however as soon as I switch to sql, I start to get State information lost error. Backtrace: 2…
Matthew
  • 31
  • 3
3
votes
1 answer

Android setAuthToken not working for first time

I am saving my application account on Android using AccountManager and want to save authentication token on device. My app account is added every time when I login and execute addAccountExplicitly but setAuthToken does not work untill I login one…
Aniruddh Ambarkar
  • 1,030
  • 1
  • 11
  • 20
3
votes
1 answer

How can I get an auth token for multiple scopes using android's account manager

I need to get an oauth token from within an android app that will allow me to connect to my appengine application as well as be able to send emails from the user's account. The problem I've run into is that for some reason there is not really any…
3
votes
2 answers

Accountmanager Auth token whithout clientID and clientSecret

Hello I'm retrieving a auth token on my app with that code : private String updateToken(boolean invalidateToken, int accountref) { String authToken = "null"; try { AccountManager am = AccountManager.get(TestAuthActivity.this); …
Karly
  • 389
  • 2
  • 7
  • 25
2
votes
4 answers

is it possible to get the public facebook wall feeds when not logged in?

I'm accually asking is it possible to get public wall feeds without auth token? If I'm not logged in to facebook, I can still see the public posts ,this is a good example : http://www.facebook.com/adele I'm using facebook graph API like this: uri…
Li3ro
  • 1,837
  • 2
  • 27
  • 35
2
votes
1 answer

Devise - auth_token and current_user

I'm using Rails 3.0 and Devise 1.1.7. In order to develop some API behavior, I enabled the TokenAuthentication functionality. The thing is, when I try to access with an auth_token parameter, the current_user is not being set properly. Should it? Or…
2
votes
1 answer

Google AuthToken Validity for C2DM Services

I am Developing a web server which sends push messages automatically to my android application whenever I add new data on web server. But, for sending the push message through C2DM server we need to get a google Authentication Token(AuthToken). My…
aBadAssCowboy
  • 2,440
  • 2
  • 23
  • 38
2
votes
1 answer

Firebase ID Token expiration in an hour

so I am using redux-saga in my react-native app and tried to use refresh token but didn't work, so my approach was the following in app.js in order to get the token specifically for each request and force refresh it: handleResponse = async () =>…
2
votes
1 answer

WebSockets are not working parallel with and without authentication

In my project, i have some sockets which needs to be authenticated and some sockets which are not containing the auth-token. const socket = require('socket.io'); let server =…
2
votes
0 answers

Create token with different model than user in django

I am trying to create an authentication token for my model called Person, but the Token table asks me for a user_id as a foreign key, is there any way I can create tokens with a different User model? This is my Person model: class…
2
votes
0 answers

Is there a module that allows you to generate JWT token in angular on client-side itself without actually having to make a request to server-side?

What I want to achieve is to be able to generate JWT token for signing in user to another website which has a readme page, the JWT token should be generated on the client-side itself which is in angular. I can't seem to able to find a module which…
2
votes
1 answer

Github Actions release to other repo

Currently I have the following code: name: Build-All on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build-linux-64: name: ${{ matrix.config.name }} Build …
Brandon
  • 22,723
  • 11
  • 93
  • 186
1
2
3
8 9