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

Commit

Permalink
fix(auth0): extend responseType check
Browse files Browse the repository at this point in the history
It was necessary to extend the if-check with an additional variant of responseType === 'token id_token' to make it work with auth0-lock v11

Fixes #403
  • Loading branch information
vidaritos authored Sep 23, 2018
1 parent 9ae76ac commit 2d3434b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/authLock.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export class AuthLock {
if (provider.responseType === 'token'
|| provider.responseType === 'id_token%20token'
|| provider.responseType === 'token%20id_token'
|| provider.responseType === 'token id_token'
) {
return lockResponse;
}
Expand Down

0 comments on commit 2d3434b

Please sign in to comment.