akveo / akveo/nebular

Authentication problem

Đang mở
#1,868 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
module:auth needs info
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.