summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-server/src/main/webui/auth.js
diff options
context:
space:
mode:
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>