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

tokenNotExpired don't use tokenName from AuthConfig #48

Closed
RicardoRFaria opened this issue Mar 11, 2016 · 2 comments
Closed

tokenNotExpired don't use tokenName from AuthConfig #48

RicardoRFaria opened this issue Mar 11, 2016 · 2 comments

Comments

@RicardoRFaria
Copy link

Hi guys, I'm using angular2-jwt and I realized that when I call tokenNotExpired without provide a tokenName he uses 'id_token' as you can look here:
var authToken:string = tokenName || 'id_token';

I think that angular2-jwt should use token name from AuthConfig instead a fixed value.

@chenkie
Copy link
Contributor

chenkie commented Mar 11, 2016

Agreed :) this will come in a later release. #11 touches on the same issue.

@RicardoRFaria
Copy link
Author

Ok, I'll close this in favor of #11

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

No branches or pull requests

2 participants