summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-server/src/main/webui/auth.js
diff options
context:
space:
mode:
authorvincent van beek <vincent@vlogic.nl>2026-04-02 10:55:56 +0200
committerGitHub <noreply@github.com>2026-04-02 09:55:56 +0100
commit23d93ff366802bc5c6fe59109c8069f909f378f7 (patch)
tree720535abacb289096ce2fc127c56c4507987067c /opendc-web/opendc-web-server/src/main/webui/auth.js
parent07a2e0233a75e0cbc12c18b731d575a00a20aad2 (diff)
Fix authentication (#398)
* remove test flags for disabling authentication
Diffstat (limited to 'opendc-web/opendc-web-server/src/main/webui/auth.js')
-rw-r--r--opendc-web/opendc-web-server/src/main/webui/auth.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-server/src/main/webui/auth.js b/opendc-web/opendc-web-server/src/main/webui/auth.js
index 8c88f526..89e8c0d7 100644
--- a/opendc-web/opendc-web-server/src/main/webui/auth.js
+++ b/opendc-web/opendc-web-server/src/main/webui/auth.js
@@ -83,6 +83,8 @@ export function AuthProvider({ children }) {
clientId={authConfig.clientId}
redirectUri={authConfig.redirectUri}
audience={authConfig.audience}
+ cacheLocation="localstorage"
+ useRefreshTokens={true}
>
{children}
</Auth0Provider>