Page of your app that calls handleRedirectCallback(). Must be registered as a return URL.
OptionalscopesDefault: openid profile. Add offline_access to get refresh tokens.
OptionalissuerOptionalstorageWhere tokens live. session (default): cleared when the tab closes.
local: survives restarts, but readable by any script on your origin (XSS) — use with a strict CSP.
memory: lost on reload.
OptionalfetchOptionalapiCore API origin for unet.api. Default: the issuer without its /oidc suffix.
OptionalonCalled after every HTTP request the SDK makes (discovery, token, userinfo, API calls) with the request and response — tokens redacted. Meant for debug panels and logging.
OptionalnavigateNavigation hook (defaults to location.assign). Mostly useful for tests.
OptionaltimeoutAbort JSON API requests that take longer than this (default 60 000 ms; 0 = never). File uploads have no timeout.
OptionalretriesRetry 429 (honours Retry-After) and, for GET, 5xx up to this many times. Default 0 (off).
OptionalmaxUpper bound for one retry wait. Default 30 000 ms.
client_idof a public app from the UNET Developers Console.