akveo / akveo/nebular

Authentication problem

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

描述

Hello. I have a problem...

Angular 8 , Nebular 4

My PHP server after submit login and password response HTTP 200 , but canActivate() tell authenticated failed, buuut angular show message is authenticated is success...and my dashboard has locked for all user...

I don't use token..

` NbPasswordAuthStrategy.setup({
name: 'email',
baseEndpoint: 'https://domain.com',
login: {
alwaysFail: false,
endpoint: '/clients/auth',
method: 'post',
redirect: {
success: 'pages/dashboard/',
failure: null,
},
},
register: {
endpoint: '/auth/register',
},
}),`

What my server can response for login success?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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