Skip to content

Commit

Permalink
fix: loopback redirectUriAllowed protocol check (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
mureinik authored Oct 3, 2020
1 parent 2f9def0 commit da99330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ module.exports = function getClient(provider) {
if (
match
|| this.applicationType !== 'native'
|| !parsed.protocol === 'http:'
|| parsed.protocol !== 'http:'
|| !LOOPBACKS.has(parsed.hostname)
) {
return match;
Expand Down

0 comments on commit da99330

Please sign in to comment.