diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-11-05 08:48:01 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-11-05 08:48:01 +0200 |
| commit | 0f0f194cef76a5c1b815a793314e0aca745dd311 (patch) | |
| tree | 25f0ed0b5cb2255ef2b694bde758018813079915 | |
| parent | a78a721df5f91ddb3bb9a755aaf6a44e3996d417 (diff) | |
Store access_token in localstorage
| -rw-r--r-- | main.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,7 +46,8 @@ const logout = () => { const configureClient = async() => { auth0 = await createAuth0Client({ domain: authConfig.domain, - client_id: authConfig.clientId + client_id: authConfig.clientId, + cacheLocation: "localstorage", }); window.auth0 = auth0; }; |
