Web SDK: oauth
Public oauth surface for @keyra/web-sdk.
On this page
Runtime: BROWSER. See package overview for installation.
Authorization
handleRedirectCallback()Resumes redirect flow on redirectUri: validates state, exchanges code, clears transient storage.verify()Starts verification. mode auto picks popup on desktop and redirect on mobile UA.verifyWithPopup()Opens hosted KEYRA UI in a popup and completes token exchange in the opener.verifyWithRedirect()Full-page redirect to hosted UI. Persists PKCE verifier in sessionStorage, then navigates away.
