2020欧洲杯手机版注册

A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [jwt]

JSON Web Token (JWT, pronounced "jot") is an emerging type of token-based authentication used in space-constrained environments such as HTTP Authorization headers.

Filter by
Sorted by
Tagged with
-2
votes
0answers
10 views

Django Rest Framework simplejwt

how to use rest_framework_simplejwt with email for token?I tryedclass EmailTokenObtainSerializer(TokenObtainSerializer): username_field = User.EMAIL_FIELD
0
votes
0answers
7 views

How to convert Azure cookie AppServiceAuthSession to a valid OAuth JWT access token?

In Azure I have an App Service which hosts an SPA and ASP.NET Core WebAPI.Azure App ServiceI have activated AuthenticationAuthentication active in App ServiceWhen I try to access the SPA I am ...
0
votes
0answers
7 views

IdentityModel.Tokens.Jwt generating invalid JWT tokens c#

I am generating a JWT token in my WindowsService like this:private JwtSecurityToken GetJwtToken() { var symmetricSecurityKey = new SymmetricSecurityKey(Convert.FromBase64String(...
0
votes
0answers
17 views

response received in postman even after application is logout

I am working on a angular 8 ,node 11 based application .I am following following steps1)I am making a valid request to search address from the browser .2)i am capturing this valid request from ...
0
votes
2answers
27 views

How can I modify the validity of a JwtSecurityToken?

I create a JwtSecurityToken in my project.SymmetricSecurityKey key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(constant.securityKey));Claim[] claims = new Claim[]{ new Claim(...
0
votes
0answers
12 views

tymon/jwt-auth makes laravel homepage redirect to login

I've already followed the official docs to setup JWT but when i log in into laravel, it doesn't redirect me to the homepage and keeps going to /login but when i change the default guards => 'web' ...
0
votes
0answers
18 views

Error java.lang.NoClassDefFoundError: com/auth0/jwt/algorithms/Algorithm

I have created a plugin for openfire and this pluging using java-jwt , after adding plugin into openfire error is comming like this java.lang.NoClassDefFoundError: com/auth0/jwt/algorithms/...
1
vote
0answers
23 views

Using tymon/jwt-auth function instead of laravel default

How do i actually use the login function in AuthController which generate the JWT token with laravel blade? Because right now the blade is using the default laravel login function which just redirect ...
0
votes
0answers
9 views

why jwt.sign method only uses string value?

I am trying to learn jwt authentication token, but I was stuck in one bug that took time to find. this line works fine.const token = jwt.sign({ foo: 'bar' }, 'shhhhh');But this line doesn't work....
0
votes
0answers
7 views

Docebo oAuth2 JWT bearer- Public key invalid

Currently, I am integrating docebo API with python rest client. While creating an oAuth2 application in docebo with JWT bearer grant permission they are asking to upload the public key.I have ...
0
votes
1answer
23 views

What causes error 400 in axios post request?

I am writing a cli in oclif that consumes data from a rest api written in node.js . I am trying to perform a post request that sends username and password, receives a token from the api and verifies ...
0
votes
0answers
12 views

Options for token storage and refresh in SPAs

I've been reading Aaron Parecki's draft of browser-based apps' (meaning SPAs like those developed with React or Angular) authentication best practices with OAuth 2 as well as OWASP security guidelines,...
0
votes
1answer
19 views

What is the difference between AddJwtBearer and AddOpenIdConnect in .NET Core Authentication?

I've been looking into the basics of .NET Core Authentication using Azure AD for an API that I'm building and I've been trying to find information about the authentication schemes. I get the ...
-1
votes
0answers
21 views

Symfony phpunit test JWT token not working

I am trying to do the tests for my Restful API, but even though I sent the token through the headers with PHPUnit, the server always responds with: 401: JWT Token not found.I would like to know what ...
0
votes
1answer
26 views

Trying to decode jwt token from server side

I have created a CLI with which I consume a data from a rest api I build with node.js and express.js. In the cli the user has to login and after that when he performs a query his data are passed as a ...

15 30 50 per page