User Consent Management Blueprint
OAuth/OIDC consent tracking and enforcement
| Feature | user-consent-management |
| Category | Access Control |
| Version | 1.0.0 |
| Tags | consent, oauth2 |
| YAML Source | View on GitHub |
| JSON API | user-consent-management.json |
Fields
| Name | Type | Required | Label | Description |
|---|---|---|---|---|
client_id | text | Yes | Client ID | Validations: required |
scope | text | Yes | Scope | Validations: required |
Rules
- core: Consent enforcement
Outcomes
Consent_granted (Priority: 5)
Given:
client_idexistsnull
Then:
- emit_event event:
consent.granted
Result: Consent recorded
Errors
| Code | Status | Message | Retry |
|---|---|---|---|
CONSENT_DENIED | 403 | Consent denied | No |
Events
| Event | Description | Payload |
|---|---|---|
consent.granted | Consent granted | client_id |