🚧 Clea identity token
This commit is contained in:
parent
5f4620eb33
commit
59422e537f
@ -48,6 +48,7 @@ public class ProxyResource
|
||||
public void logout(@Context HttpServerResponse response)
|
||||
{
|
||||
response.addCookie(Cookie.cookie("session", "").setMaxAge(0).setPath("/").setHttpOnly(true).setSecure(true));
|
||||
response.addCookie(Cookie.cookie("identity", "").setMaxAge(0).setPath("/").setHttpOnly(false).setSecure(true));
|
||||
response.setStatusCode(302);
|
||||
response.putHeader("Location", "http://localhost:3000");
|
||||
response.send();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user