-
Notifications
You must be signed in to change notification settings - Fork 556
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
Update auth0.js and add flag to enable impersonation #1290
Conversation
package.json
Outdated
@@ -87,7 +87,7 @@ | |||
"zuul-ngrok": "4.0.0" | |||
}, | |||
"dependencies": { | |||
"auth0-js": "^9.3.0", | |||
"auth0-js": "^9.3.3", | |||
"blueimp-md5": "2.3.1", | |||
"fbjs": "^0.3.1", | |||
"idtoken-verifier": "^1.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be bumped too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the direct dependency
expect(parseHashMock.calls.length).toBe(1); | ||
expect(parseHashMock.calls[0]).toMatchSnapshot(); | ||
}); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides checking that the option is set on the auth0js client, you can also check that a real auth0js client can parse or throws an exception depending on the flag and on the state
passed in the hash. (2 more tests)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not testing auth0.js internals inside lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Straight-forward change, LGTM
No description provided.