Skip to content

redactedProviderError

reference
1 min readUpdated

Kind: Function

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

The provider's error, without anything that could be a credential.

error and error_description are the two RFC-defined fields; everything else in an error body is provider-specific and could be anything, so nothing else is read.

Signature

ts
function redactedProviderError(payload: Record<string, unknown>): string

Parameters

NameType
payloadRecord<string, unknown>

Returns: string

Was this page helpful?

Download as PDF