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

1.2.1 -> 1.3.1 upgrade causes "Cannot read property 'scope' of undefined" #107

Closed
pihvi opened this issue Dec 21, 2019 · 1 comment · Fixed by #108
Closed

1.2.1 -> 1.3.1 upgrade causes "Cannot read property 'scope' of undefined" #107

pihvi opened this issue Dec 21, 2019 · 1 comment · Fixed by #108
Milestone

Comments

@pihvi
Copy link
Contributor

pihvi commented Dec 21, 2019

My Express app started to fail logins after upgrading from 1.2.1 to 1.3.1

Here's the error:

Cannot read property 'scope' of undefined
    at handleIdTokenValidation (.../node_modules/passport-auth0/lib/verifyWrapper.js:38:18)
@pihvi
Copy link
Contributor Author

pihvi commented Dec 21, 2019

if (authParams.scope && authParams.scope.includes('openid')) {

There seems to be an access to possibly undefined parameter?

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

Successfully merging a pull request may close this issue.

2 participants