Konnect-Agri / consent-manager

APIs to manage and verify the consent artifact for accessing farmer details.
2 stars 0 forks source link

[Consent Manager] Change implementation to check jwt instead of json object #16

Open karntrehan opened 1 year ago

karntrehan commented 1 year ago

Currently when following the /auth flow through authenticator the Consent Artifact is actually taken from the body and not from database or token in gatekeeper which leads to anyone changing the artifact permissions according to their will irrespective of the consent granted from the user.