URI encode clientId for referrer parameter
This commit is contained in:
parent
bde9944449
commit
740943290c
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ var Keycloak = function (config) {
|
|||
kc.createAccountUrl = function(options) {
|
||||
var url = getRealmUrl()
|
||||
+ '/account'
|
||||
+ '?referrer=' + kc.clientId
|
||||
+ '?referrer=' + encodeURIComponent(kc.clientId)
|
||||
+ '&referrer_uri=' + encodeURIComponent(adapter.redirectUri(options));
|
||||
|
||||
return url;
|
||||
|
|
Loading…
Reference in a new issue