Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(auth0): fix access and id token assignments
Browse files Browse the repository at this point in the history
Current Auth0 plugin assigns the Auth0 id_token to the access_token
object. This fixes that and now you get the Auth0 access_token &
id_token correctly assigned.

This is breaking change, see issue #397
  • Loading branch information
jawa-the-hutt committed Jul 16, 2018
1 parent 06b9e43 commit 9e2c383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/authLock.js
Expand Up @@ -74,7 +74,8 @@ export class AuthLock {
this.lock.hide();
}
resolve({
access_token: authResponse.idToken
access_token: authResponse.accessToken,
id_token : authResponse.idToken
});
});
this.lock.on('unrecoverable_error', err => {
Expand Down

0 comments on commit 9e2c383

Please sign in to comment.