send cookies along with keycloak.updateToken()
This commit is contained in:
1 parent
2a29f2a9c6
commit
ec5289b5c8
1 file changed
+1
@@ -380,6 +380,7 @@
|
||||
var req = new XMLHttpRequest();
|
||||
req.open('POST', url, true);
|
||||
req.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
||||
req.withCredentials = true;
|
||||
|
||||
if (kc.clientId && kc.clientSecret) {
|
||||
req.setRequestHeader('Authorization', 'Basic ' + btoa(kc.clientId + ':' + kc.clientSecret));
|
||||
|
||||
Reference in new issue
Block a user