You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NbAuthJWTInterceptor is configured properly. It was working properly. I just updated the auth, security packages to 2.0.1
Suddenly it stopped working.
app.modules.ts entry for interceptor {provide: HTTP_INTERCEPTORS, useClass: NbAuthJWTInterceptor, multi: true},
Token that it is sending now is something like this, where "api" is the username.
WWW-Authenticate: Bearer realm="api"
Authentication is happening properly without issue and token is here in localstorage as well. But the "Bearer Token" is not getting send with the request rather the above.
Thanks & Regards
The text was updated successfully, but these errors were encountered:
add this line in your module (Quick fix)
{ provide: NB_AUTH_TOKEN_INTERCEPTOR_FILTER, useValue: (req) => {return false;}},
and plz take a look here for more details its a new future ;) (the last line in "2.0.0 (2018-10-02)") https://github.com/akveo/nebular/blob/master/CHANGELOG.md
NbAuthJWTInterceptor is configured properly. It was working properly. I just updated the auth, security packages to 2.0.1
Suddenly it stopped working.
{provide: HTTP_INTERCEPTORS, useClass: NbAuthJWTInterceptor, multi: true},
Token that it is sending now is something like this, where "api" is the username.
Authentication is happening properly without issue and token is here in localstorage as well. But the "Bearer Token" is not getting send with the request rather the above.
Thanks & Regards
The text was updated successfully, but these errors were encountered: