Renew expired tokens
#246
-
why when i try to refresh or renew tokens i get this
public function __construct()
{
$this->middleware('auth:api', ['except' => ['signup', 'refresh_token']]);
}
public function refresh_token(): JsonResponse
{
return $this->respondWithToken(auth()->refresh(), 'new token for user created successful');
} |
Beta Was this translation helpful? Give feedback.
Answered by
mfn
May 8, 2024
Replies: 1 comment
-
You are using https://github.com/tymondesigns/jwt-auth , not this one |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Messhias
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are using https://github.com/tymondesigns/jwt-auth , not this one