Skip to content

Commit

Permalink
Merge c706d0a into b935d45
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjoyce3 committed Sep 17, 2019
2 parents b935d45 + c706d0a commit 2871bef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/appid.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/appid.umd.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ class AppID {
redirect_uri: this.window.origin,
response_mode: constants.RESPONSE_MODE,
nonce,
scope: constants.SCOPE,
prompt
scope: constants.SCOPE
};

if (prompt) {
authParams.prompt = prompt;
}

const authUrl = this.openIdConfigResource.getAuthorizationEndpoint() + '?' + this.utils.buildParams(authParams);
return {
codeVerifier,
Expand Down

0 comments on commit 2871bef

Please sign in to comment.