Questions tagged [http-token-authentication]
146 questions
0
votes
0 answers
How to implement JWT Authentication in web api?
I am in need of implementing Token based Authentication in my web api project.
On Googling I came to know about JWT. But now its been a day on scratching my head and googling how to implement JWT for simple Forms Authenications.
The links that I…

aarti
- 104
- 1
- 6
0
votes
0 answers
Token auth in javascript
I am trying to get client side token authentication working. For some reason my java script does not seem to load in the browser. I have included the script tag.At present the page just hangs and keeps loading forever.
I referred one of the…

codingyo
- 329
- 1
- 5
- 17
0
votes
0 answers
Type of authentication when using HTTP and websockets
I have a website where I am using regular HTTP API requests and a websocket authenticated connection for realtime data.
I am using token authentication for API requests, authenticating websocket connection upon connection via header token.
I would…

xtrinch
- 2,232
- 1
- 24
- 46
0
votes
1 answer
Token authentication against custom database in WebAPI
I'm trying to implement token authentication against my own database. My Configure method is
public void ConfigureAuth(IAppBuilder app)
{
// Configure the db context and user manager to use a single instance per request
…

eXPerience
- 346
- 1
- 3
- 19
0
votes
1 answer
How do I get a token from WebUI (uTorrent)
Right now, after setting up an account to connect with ( http://IP:8080/gui/?list=1 returns: invalid request. EDIT: Maybe it would be smart to add, that I can access the GUI if I do not enter the "API commands" like ?list=1.
After searching through…

Nephilim
- 494
- 5
- 25
0
votes
1 answer
WebAPI 2 Authentication Confusion
After dooing some research i understood there are many ways to implement authentication and authorization in WebAPI 2 ...
I'm looking specifically at Token based authentication
implementing a custom OAuth Provider and injecting it to OWING pipline …

Mortalus
- 10,574
- 11
- 67
- 117
0
votes
2 answers
Checking if a user has been assigned a token in Django Restframework
I am setting up token authentication for a site using Django Restframework and need to be able to have a user download their token, however the catch is that they much only be able to download their token once (similar to the Amazon AWS model).
In…

aeusman
- 11
- 1
- 6
0
votes
2 answers
Token based Authentication with Angular
I want to authenticate users through api, when username and password is right it returns a token and store on local storage using ngStorage but I read some articles that it's not secure saving token on localStorage, and they made reference to…

user3055606
- 65
- 1
- 12
0
votes
1 answer
Satellizer not pass Authenication header to my API
So I am currently working locally, I have an API (Laravel). Everything is working great, I can login using Facebook, I get a JWT from my API and that is saved in local storage, however, after being logged and API calls do contain the 'Authorization:…

ChrisBratherton
- 1,540
- 6
- 26
- 63
0
votes
1 answer
Trigger action whenever session is updated, on application restart
I am using ember-simple-auth (and ember-simple-auth-token, but I think this is not relevant). Whenever a logged-in user reloads the page, the session is properly re-created. I have one problem, though: when the user enters the credentials, I am…

blueFast
- 41,341
- 63
- 198
- 344
0
votes
1 answer
Can you sign tokens using express-jwt since it seems to mainly focus on verification of JWT?
I am using an express app and I want to to implement token based authentication I wonder what libraries do I need mainly on both client side and server side? I looked at express-jwt I don't see that library can actually sign the web tokens but I can…

user1870400
- 6,028
- 13
- 54
- 115
0
votes
2 answers
API security for non users
I am trying out seperated infrastructure for the first time. By seperated infrastructure, I mean I have 2 seperate apps:
Rails app that only serves as an API service
Angular app that takes care of all the front-end stuff
Currently it's a very…

HermannHH
- 1,732
- 1
- 27
- 57
0
votes
1 answer
Restangular Response Interceptor for Headers
I am communicating from angular app to server side for data. The server creates a token and sends it into the header. I am looking for ways to intercept the response using Restangular and save it in the localStorage. I haven't been successful.
I…

Rana_S
- 1,520
- 2
- 23
- 39
0
votes
1 answer
Web api token based authentication:- Failed to decode token from base64 string to get user name and password
I am using Web Api Token Based Authentication using OWIN Middleware; the token is generated successfully but i can't decode it; e.g. i cannot extract user name and password from it;
Here is my configuration
my start up code
var…

yo2011
- 971
- 2
- 12
- 38
0
votes
2 answers
Token based authentication with mobile devices in ASP.NET
I'm trying to build a mobile app that has a login functionality with an ASP.NET web api, and I need to implement the token based authentication,
what I need is, as a first time the user login using username and password, a new token will be…

Ibraheem Al-Saady
- 854
- 3
- 14
- 30