Solution skill
ExtraParams are not included during token renewal
Complete solution
Shows how to fix extraParams are not included during token renewal. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade to 7.7.1+. Source: https://github.com/okta/okta-auth-js/issues/1524 (Okta) ExtraParams being dropped during token renewal was fixed by PR #1529, released in okta-auth-js 7.7.1.
Steps
- ExtraParams being dropped during token renewal was fixed by PR #1529, released in okta-auth-js 7.7.1. Upgrade to 7.7.1+.
- Source: https://github.com/okta/okta-auth-js/issues/1524 (Okta)
When to use
Use this skill when you run into "ExtraParams are not included during token renewal".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: okta-auth-js 7.7.1. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/okta/okta-auth-js/issues/1524
Evidence
In gh:okta/okta-auth-js#1524, the issue was: ### Describe the bug When signing in using the following snippet, I would expect the same extraParams object to be used when renewing the token. ``ts await oktaAuth.signInWithRedirect({ extraParams: { organizationId: 'some uuid', }, }) ts // the following DID NOT include the extra params in the authorize url. await oktaAuth.tokenManager.renew('accessToken') ### Reproduction Steps? 1. Sign in with some extraParams. 1. Call oktaAuth.tokenManager.renew('accessToken')` Observe that in the first call (sign in) the extraParams are in the authorize url, while in the second call (renewa. The verified answer: ExtraParams being dropped during token renewal was fixed by PR #1529, released in okta-auth-js 7.7.1. Upgrade to 7.7.1+.. Issue URL: https://github.com/okta/okta-auth-js/issues/1524
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_jPJhuSRDL95DnflMZgyUdA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ExtraParams are not included during token renewal <span>— Vectle</span></a>