Avnology ID
Components

ConsentScreen

Custom OAuth consent UI for embedded OAuth clients.

<ConsentScreen />

Renders the OAuth consent form a user sees when granting an OAuth client access. Avnology ships a default hosted consent page at <Domain id="app"/>/consent; <ConsentScreen/> lets you embed the same UX inside your own app for whitelabel OAuth deployments.

Import

Usage

<ConsentScreen



Props

PropTypeRequiredDescription
consentChallengestringYesThe consent_challenge query param Hydra hands off
onAccept() => voidNoFires after successful consent
onReject() => voidNoFires after denial
hideRememberMebooleanNoHide "Remember this decision"