KEYCLOAK-13026 Set path of OAuth_Token_Request_State cookie to /
This commit is contained in:
parent
a1bbab9eb2
commit
967ff939ec
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ public class OAuthRequestAuthenticator {
|
|||
tokenStore.saveRequest();
|
||||
log.debug("Sending redirect to login page: " + redirect);
|
||||
exchange.getResponse().setStatus(302);
|
||||
exchange.getResponse().setCookie(deployment.getStateCookieName(), state, /* need to set path? */ null, null, -1, deployment.getSslRequired().isRequired(facade.getRequest().getRemoteAddr()), true);
|
||||
exchange.getResponse().setCookie(deployment.getStateCookieName(), state, "/", null, -1, deployment.getSslRequired().isRequired(facade.getRequest().getRemoteAddr()), true);
|
||||
exchange.getResponse().setHeader("Location", redirect);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue