Questions tagged [auth-token]
132 questions
1
vote
0 answers
mod_auth_token for tomcat
Is there a Tomcat Servlet that works similar to mod_auth_token?
mod_auth_token is written in C, mean for Apache. I am looking for a pure Java implementation.
It is better if that implementation extends the Tomcat DefaultServlet, which supports gzip,…

so_mv
- 3,939
- 5
- 29
- 40
1
vote
1 answer
What does binascii.hexlify(os.urandom(32)).decode() mean?
I'm trying to develop a function which would refresh token model in django rest framework.They seem to use binascii.hexlify(os.urandom(32)).decode() for generating unique tokens for every user.How does this line ensures that token generated by it…

Gagan Singh
- 200
- 1
- 13
1
vote
1 answer
Decrypt Basic authentication token from query param in PHP GET method
I would like to decrypt the Username and Password which was encrypted using basic authentication.
In my client application I'm having a list of files. if the user wants to download, they will click the anchor link which points to a PHP file with…

B.Balamanigandan
- 4,713
- 11
- 68
- 130
1
vote
3 answers
Read property from a Json object in typescript/javascript
I am working with an auth token with I receive from a third-party API. I have given a sample of the decoded token below,
{
"nbf": 1564128888,
"exp": 1564132488,
"iss": "http://example.com:5002",
"aud":…

Joshua
- 2,275
- 7
- 41
- 57
1
vote
0 answers
How does one implement authentication using session ticket like in Steam or PlayFab or GameSparks or HeroicLabs?
What is a session ticket used in backend service like Steam and PlayFab? Is it like session_id or is it like OAuth2 access token? Is it the same as authentication token in GameSparks or session token in Heroic Labs? Is there a standard for…

Dragon
- 11
- 2
1
vote
1 answer
How to get C2DM auth token?
I'm working on android c2dm for a while.
Last week, I got registration id in the emulator's logcat, but I still can not get auth token.
And there are some error & warning messages in my logcat:
**02-15 10:41:39.092:…

user517011
- 59
- 1
- 5
1
vote
1 answer
The api_key isn't set when calling api via Swagger UI
I am using Swagger UI to generate api doc and want to call api in this page for grape api.
I set the security_definitions as below:
add_swagger_documentation(
hide_documentation_path: true,
doc_version: '18.0',
mount_path: '/api_doc',
…

李梦驰
- 59
- 3
1
vote
0 answers
Launching AngularJS (1.6) app from external application with User Authentication Token
I am looking forward for any help w.r.t launching my AngularJS (1.6) app from external application (A third party App, most probably will be .NET based) with User Authentication Token. This third party app will do authentication and load list table…

DeiJ Wrapp
- 116
- 1
- 11
1
vote
1 answer
Identifying non-logged in users in a stateless RESTful API
I'm developing a stateless RESTful API which will be consumed by an iOS app and an AngularJS browser app. In this API, auth tokens are required for any actions relating specifically to an authenticated user (adding new content, editing details etc).…

nlyn
- 606
- 1
- 7
- 20
1
vote
1 answer
Cancan ability not finding user
I am using Cancan to ensure only users with permissions can delete objects in my Rails app. I have a companion mobile application that submits delete requests with the auth_token of a user. This is what the request looks like:
Started DELETE…

scientiffic
- 9,045
- 18
- 76
- 149
1
vote
1 answer
How to manually revoke an auth-token on Rackspace?
Say I generated an authentication token on rackspace, and use it for a session login.
Now, for security reason I want to invalidate/revoke that token before the expiry date manually, so that on each new session of the application I have a new token…

Anurag
- 1,018
- 1
- 14
- 36
1
vote
1 answer
Android AccountManager with multiple auth token types
I've followed the syncadapter example to create an AccountManager and a sync adapter. I wanted to have two different types of authtokens for different purposes (access to different services - the sync adapter uses one of them) under the same…

BJV
- 1,133
- 8
- 15
1
vote
1 answer
OAuts with Signpost - how to sign POST to get Access token
I'm working with client who provided me with somewhat vague
instructions. Here's what I'm doing (using CommonsHttpOAuthConsumer as
consumer and DefaultOAuthProvider as provider)
I'm able to get response token from doing this:
String requestToken =…

Bostone
- 36,858
- 39
- 167
- 227
1
vote
1 answer
Google Subtokens for Android App
I am developing an Android app that asks for permission to view my Google profile and email. I allow the app permission to view it, but the "Authorized Apps and Sites" section of my Google account page doesn't list my app. Is there any way to make…

toadzky
- 3,806
- 1
- 15
- 26
1
vote
0 answers
token based authentication in a distributed servers using database
I am developing a application with distributed servers using service oriented architecture, here is link for my system architecture.
It is a Rails 3 application, where I have 2 content processing servers and 2 application servers. All the user…

GMB
- 11
- 1