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
| Prop | Type | Required | Description |
|---|---|---|---|
consentChallenge | string | Yes | The consent_challenge query param Hydra hands off |
onAccept | () => void | No | Fires after successful consent |
onReject | () => void | No | Fires after denial |
hideRememberMe | boolean | No | Hide "Remember this decision" |