akveo / akveo/nebular

Security, Strategy, Not able to pass token in request header

Aperta
#2,229 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
8.1k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am using your Nebular – ngx-admin theme for our project.
The project tech stack is Angular 4 for Frontend and Java Spring for the backend.

I am not getting how the Strategy part will work on other modules except auth.
Because we want to use customize the URL structure after login. also need to pass the token for authentication.

So for auth also I have normally created service for backend API calls. It works fine for me.

But after login, I am using JWT token-based authentication tech as backend. So how to configure it in your strategy or service front end.

How to set token in every request header?
Below are some codes screen done by me.
Service Screens - https://prnt.sc/r40vnk, https://prnt.sc/r40v9r

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.