Kind: Function
Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts
Where the authorization server sends the reader back.
DERIVED from the page, never reflected from input: origin + pathname of the docs page the reader is standing on, with query and fragment dropped. A host may pass one explicitly (a dedicated callback route), and it is honoured only if it is same-origin — an allowlist of one, which is the only allowlist a browser client can enforce for itself.
Signature
tsfunction resolveRedirectUri(location: { origin: string; pathname: string }, configured: string): string
Parameters
| Name | Type |
|---|---|
location | { origin: string; pathname: string } |
configured | string |
Returns: string
Was this page helpful?