@axa-fr/react-oidc 6.5.0 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vanilla/oidc.js +1 -1
- package/package.json +1 -1
- package/src/oidc/vanilla/oidc.ts +1 -1
package/dist/vanilla/oidc.js
CHANGED
|
@@ -198,7 +198,7 @@ function renewTokensAndStartTimerAsync(oidc, refreshToken, forceRefresh, extras)
|
|
|
198
198
|
case 2:
|
|
199
199
|
serviceWorker = _b.sent();
|
|
200
200
|
if (!!serviceWorker) return [3 /*break*/, 4];
|
|
201
|
-
session = (0, initSession_1.initSession)(
|
|
201
|
+
session = (0, initSession_1.initSession)(oidc.configurationName, oidc.configuration.redirect_uri, oidc.configuration.storage);
|
|
202
202
|
return [4 /*yield*/, session.setTokens(oidc.tokens)];
|
|
203
203
|
case 3:
|
|
204
204
|
_b.sent();
|
package/package.json
CHANGED
package/src/oidc/vanilla/oidc.ts
CHANGED
|
@@ -158,7 +158,7 @@ async function renewTokensAndStartTimerAsync(oidc, refreshToken, forceRefresh =f
|
|
|
158
158
|
oidc.tokens = tokens;
|
|
159
159
|
const serviceWorker = await initWorkerAsync(oidc.configuration.service_worker_relative_url, oidc.configurationName);
|
|
160
160
|
if (!serviceWorker) {
|
|
161
|
-
const session = initSession(
|
|
161
|
+
const session = initSession(oidc.configurationName, oidc.configuration.redirect_uri, oidc.configuration.storage);
|
|
162
162
|
await session.setTokens(oidc.tokens);
|
|
163
163
|
}
|
|
164
164
|
|