Permalink
Browse files

fix(auth0): fix access and id token assignments

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 9e2c383924d128ded330dfa92c95c04f8a5b5aea
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/authLock.js
@@ -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 => {

0 comments on commit 9e2c383

Please sign in to comment.