Questions tagged [http-token-authentication]
146 questions
0
votes
1 answer
How to pass token to custom Login Module for Glassfish 3
I have a web application deployed on Glassfish 3.0 which uses my custom web application realm to authenticate user based on username and password (using servlet 3.0 request.login()). I have written a custom login module which extends…

jay
- 791
- 8
- 20
0
votes
1 answer
AngularJS recreate last api call
I am working on an AnjularJS project with Token authentication and Refresh token.
In some case when i am submit a form and make the api call, i get 401 in which the Token has expired and automatic refresh the token. Which works just fine.
The…

Valter
- 2,859
- 5
- 30
- 51
0
votes
1 answer
ASP.Net - Generating Secure Tokens
I am working on an authentication library for my website, and I want to use a token based authentication system, but I don't have a clue how to generate a secure session token so that I could identify users. Does anyone have any resources that…

Alex Justi
- 167
- 4
- 13
0
votes
1 answer
angular js returning user autologin
I have an authentication system via tokens. The user logs in with email and password and the token is returned and saved in a cookie. Now if the user closes the browser or tab and returns to the site, then the user is authenticated with the token in…

brancz
- 451
- 5
- 15
0
votes
1 answer
Basic authentication vs token authentication
With both approaches I use SSL.
Both seem the same secure to me.
But if SSL breaks there are differences.
1) basic auth: Without SSL someone can fish the username+password and use it forever.
2) token auth: Without SSL someone can do a man in the…

Pascal
- 12,265
- 25
- 103
- 195
0
votes
1 answer
Devise.friendly_token returns an equal hash all the time
I am all mixed up trying to understand what happens here:
I use Devise.friendly_token in a User factory.
FactoryGirl.define do
factory :user do
email "user@example.com"
password "secret"
authentication_token Devise.friendly_token
…

JJD
- 50,076
- 60
- 203
- 339
-1
votes
1 answer
DoesNotExist at /api/users Token matching query does not exist in Django rest api
I am trying this for so long but have failed everytime. I want to return the particular user associated with the token. The frontend dev will send a request with token on the header and I need to return the particular user after that user has logged…

saroj paudel
- 25
- 8
-1
votes
1 answer
0365 Authentication .NET CORE
I am aware of Azure Active Directory, but not sure where to start.. or if it's the best option.
I have a .NET core App (deployed to Azure WebApp). I want to secure this app with o365 auth. When the person has logged in, I need to be able to track…
-1
votes
1 answer
UrlFetchApp Token Authorization
I am trying to fetch a URL using GScript's UrlFetchApp. The URL requires Token API Key to be passed in request header.
url = 'https://freshsales.io/search?q=abc';
var options = {
'method' : 'get',
'headers':{
'Authorization': "Token…

Prasanna
- 1,617
- 1
- 17
- 22
-1
votes
1 answer
ASP.NET REST web service with token authentication and custom tables and custom privileges managing
I would like to create an ASP.NET web service with a classic token authentication, I've read some tutorial to create it, but each one of it will create new tables, in my case already exists a users table, and a custom table for rights management so…

limdev
- 706
- 1
- 5
- 18
-1
votes
1 answer
How do http-websites prevent MITM attack for token based authentication?
I am new to web services and read about token based authentication which can be used with web services from What is token based authentication?. I searched on internet but its quite confusing how http based websites manage to do token based…

Amit Kumar
- 2,685
- 2
- 37
- 72