Top "Jwt-auth" questions

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

How can I specify a guard in middleware for route?

I have two routes as follow: Route::GET('admins/', 'UserController@index')->middleware('jwt.auth'); Route::GET('visitors', …

php laravel laravel-5 laravel-middleware jwt-auth
"Not enough segments" when seding a GET message with Bearer Token Authorization Header (flask_restful + flask_jwt_extended)

I got this error in Flask Application: curl http://0.0.0.0:8080/ -H "Authorization: Bearer TGazPL9rf3aIftplCYDTGDc8cbTd" { "msg": "Not enough segments" } …

flask flask-restful jwt-auth flask-jwt-extended pyjwt
Nest.js Auth Guard JWT Authentication constantly returns 401 unauthorized

Using Postman to test my endpoints, I am able to successfully "login" and receive a JWT token. Now, I am …

passport.js nestjs jwt-auth passport-jwt
Is it secure to store a refresh token in the database? (To issue new access tokens for login purposes). Or is there a method to do it easier?

Currently im trying to gather knowledge on how to implement an auth system (a login) . And during my research i've …

jwt jwt-auth express-jwt
How to secure fastapi API endpoint with JWT Token based authorization?

I am a little new to FastAPI in python. I am building an API backend framework that needs to have …

python jwt jwt-auth fastapi