Skip to content

Commit

Permalink
Attempt to fix IdentityModel#1256
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr authored Dec 2, 2020
1 parent 5469105 commit 3fa6ba5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/UserManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ export class UserManager extends OidcClient {
}
_signinCallback(url, navigator) {
Log.debug("UserManager._signinCallback");
return navigator.callback(url);
let useQuery = this._settings.response_mode === "query" || (!this._settings.response_mode && SigninRequest.isCode(this._settings.response_type));
let delimiter = useQuery ? "?" : "#";
return navigator.callback(url, undefined, delimiter);
}

signoutRedirect(args = {}) {
Expand Down

0 comments on commit 3fa6ba5

Please sign in to comment.