forked from ammmir/node-oauth2-provider
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Timeout crash #28
Comments
Hi, I'll check into it. Would you like to PR? Thanks |
Hi, I added a PR that avoids crash, but I'm not sure about functionality... |
agmoyano
added a commit
that referenced
this issue
Sep 28, 2015
dash-
pushed a commit
to dash-/OpenIDConnect
that referenced
this issue
Oct 20, 2015
…rrences of auth.refresh to auth.refreshTokens; as originally recommended by steverc in issue agmoyano#31 (related also to agmoyano#28 and agmoyano#33)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After 1 hour the tokens expires; the timeout crashes the server.
It looks like the problem is in index.js at line 954:
https://github.com/agmoyano/OpenIDConnect/blob/master/index.js#L954
Probably auth.access and/or auth.refresh do not exist, and that's the reason of the crash...
The text was updated successfully, but these errors were encountered: