I get the errors like the following when I tried to log in .
I used nbPasswordAuthStrategy , my back-end api has already been succeeded on postman,
but when I tried on ngx-admin login front-end, it is like this.
password-strategy.js:313 NbEmailPassAuthProvider:
Token is not provided under 'data.token' key
with getter 'function (module, res, options) {
return Object(_helpers__WEBPACK_IMPORTED_MODULE_2__["getDeepFromObject"])(res.body, options.token.key);
}', check your auth configuration.
so, I checked the opened and closed issues here, but no any special one for it.
Expected behavior:
I want to get the token from the backend.
Is there any resolution for getting the token after log in?
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
I get the errors like the following when I tried to log in . I used nbPasswordAuthStrategy , my back-end api has already been succeeded on postman, but when I tried on ngx-admin login front-end, it is like this. password-strategy.js:313 NbEmailPassAuthProvider: Token is not provided under 'data.token' key with getter 'function (module, res, options) { return Object(_helpers__WEBPACK_IMPORTED_MODULE_2__["getDeepFromObject"])(res.body, options.token.key); }', check your auth configuration. so, I checked the opened and closed issues here, but no any special one for it.
Expected behavior:
I want to get the token from the backend. Is there any resolution for getting the token after log in?
Steps to reproduce:
Related code:
http://prntscr.com/jzr7ic
http://prntscr.com/jzr79y
Other information:
npm, node, OS, Browser
Angular, Nebular