Skip to content

scrubbedReturnUrl

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts

The address bar with every OAuth2 parameter removed.

An authorization code is single-use but still a credential, and an implicit token is the credential itself — neither belongs in browser history, a bookmark, or a Referer header.

Signature

ts
function scrubbedReturnUrl(href: string): string

Parameters

NameType
hrefstring

Returns: string

Was this page helpful?

Download as PDF