Consent Management
Build a small - Consent Management Microservice - purpose built for OpenG2P
Generates a consent request - UI screen Who is the subject - Farmer What is the shared object – farmer_register, crop_register Who is the audience - Open-CRVS, Partner_B, Partner_C Duration of consent
Obtains Authentication (Consent) from Oauth Provider - Biometric, OTP etc.
Receives ID Token from Oauth Provider
Validate the signature of ID Token
Validate the ID token claims
I generate and store the ID Token Hash (not the ID Token itself)
I generate an Auth Context - the auth context contains the ID Token Hash
I generate a consent artefact - all the claims of the consent - the consent artefact contains the Auth Context
I generate a consent receipt - Consent Artefact signed by my Consent Management Service
Last updated
Was this helpful?

