Use relative path for the path linked to the cookie

used by mangement ui oauth logic to store the
token until it is moved onto the local storage

(cherry picked from commit 8dfcfa61e4)
This commit is contained in:
Marcial Rosales 2025-04-01 14:02:51 +02:00 committed by Mergify
parent 7f4595b55e
commit 40d180bbb4
2 changed files with 2 additions and 2 deletions

View File

@ -15,4 +15,4 @@
-define(MANAGEMENT_DEFAULT_HTTP_MAX_BODY_SIZE, 20000000).
-define(OAUTH2_ACCESS_TOKEN_COOKIE_NAME, <<"access_token">>).
-define(OAUTH2_ACCESS_TOKEN_COOKIE_PATH, <<"/js/oidc-oauth/bootstrap.js">>).
-define(OAUTH2_ACCESS_TOKEN_COOKIE_PATH, <<"js/oidc-oauth/bootstrap.js">>).

View File

@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^132.0",
"chromedriver": "^134.0",
"ejs": "^3.1.8",
"express": "^4.18.2",
"geckodriver": "^3.0.2",