Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth: refresh token interceptor #260

Closed
1 of 2 tasks
nnixaa opened this issue Feb 21, 2018 · 1 comment
Closed
1 of 2 tasks

Auth: refresh token interceptor #260

nnixaa opened this issue Feb 21, 2018 · 1 comment

Comments

@nnixaa
Copy link
Collaborator

nnixaa commented Feb 21, 2018

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

https://www.intertech.com/Blog/angular-4-tutorial-handling-refresh-token-with-new-httpinterceptor/

@matheus2740
Copy link

Hey @nnixaa I was looking into how to refresh the user token from time to time, what is the current best way to do this? I couldn't find anything in the docs. I'm using NbAuthModule and NbAuthJWTToken. I'm not intecting the tokens into my http calls, I'm just subscribing authService.onTokenChange() on my services and getting the token this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants