"docs/vscode:/vscode.git/clone" did not exist on "1e98723e1286e1b1c1e906e3e9e9ce1b5727d9a6"
Commit 7d10daca authored by Sergey Mihaylin's avatar Sergey Mihaylin
Browse files

Fix: set jwt_token to cookie (instead of token from OIDC)

parent 57c33057
......@@ -1983,7 +1983,7 @@ async def oauth_callback(provider: str, request: Request, response: Response):
# Set the cookie token
response.set_cookie(
key="token",
value=token,
value=jwt_token,
httponly=True, # Ensures the cookie is not accessible via JavaScript
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment