akveo / akveo/ngx-admin

Revalidating JWT Token

Aperta
#1,499 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
TypeScript
Stelle
25.7k
Fork
7.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [ ] feature request
* [X ] question

### Issue description
Now I have the basic app working with JWT connected to my API. If I don't logout and relogin the token is automatically detected and the user is automatically logged into the app.
Is there a way for me to re-validate the token when the user comes back in?

**Current behavior:**
Application automatically logs the user inside because he was previously logged in. Need to be able to re-validate the token when the user comes back to the application?

Where should I add the code for re-validating the JWT?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.