Closed patrickml closed 7 years ago
@patrickml I see you are not using auth0.js but Lock. Did you change Lock version instead?.
Also put the scope inside the auth.params
Ah i guess so, it looks like there was a change in the response_type
with the version changes.
by changing responseType: 'token',
to responseType: 'id_token token',
it seemed to fix it.
I think these docs are outdated. https://auth0.com/docs/quickstart/spa/react/01-login
I found the fix via this source. https://github.com/auth0-samples/auth0-react-sample/blob/master/11-OAuth2-Authorization/src/utils/AuthService.js#L20
@patrickml it should work in Lock in the latest version without having to specify id_token
as the response_type.
@hzalaz odd, i definitely needed to add it for it to come back in the response
@patrickml can you open an issue in lock repo with the snippet, and the version you are using?
@hzalaz done thank you.
After upgrading from 7.5 to 8.2 we are getting an error when trying to login. When inspecing the .on authenticated function there doesn't seem to be a idToken or anything in the param. When logging into auth0's website it is showing that the login was successful, but it was not.
Code:
Screenshots:
Auth0 Lock:
Upgraded from 7.5 to 8.2
Browser:Version 55.0.2883.95 (64-bit) on OSX 10.12.2