A
A
Abdumalik09992018-08-18 13:45:10
ASP.NET
Abdumalik0999, 2018-08-18 13:45:10

Why does the token work after its expiry time JWT?

I have a token its time is 2 minutes but it works even after 2 minutes why? But it doesn't work until after 5 minutes

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2018-08-19
@yarosroman

When setting up authentication, you can specify whether to check the validity period of the token, specifically where, depends on the version of asp.net

A
Alexander Leonchik, 2018-08-19
@AlexanderMint

There are 2 options
- You do not correctly specify the end time of the JWT when creating it
- You do not correctly check the end time of the JWT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question