fix: send cookie after authentication

This commit is contained in:
Maël Gangloff
2024-08-05 19:03:47 +02:00
parent 3341ba00c7
commit 4e6649fc68
3 changed files with 19 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ class OAuthAuthenticator extends OAuth2Authenticator implements AuthenticationEn
new Cookie(
'BEARER',
$token,
time() + 3600, // expiration
time() + 7200, // expiration
'/',
null,
true,