diff --git a/src/UserManager.js b/src/UserManager.js index d97fd4ef..44453b9d 100644 --- a/src/UserManager.js +++ b/src/UserManager.js @@ -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 = {}) {