akveo / akveo/nebular

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

未关闭
#2,229 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。