Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] feat(INJI-438): show consent based on api response in QR login flow #933

Conversation

KiruthikaJeyashankar
Copy link
Contributor

In the QR login flow the consent screen will be displayed as per the response from esignet /linked-authorization/v2/authenticate.

  • When a binded VC is used in QR login for the first time the consent screen is shown in Inji( this is stored in eSignet side for further login)
  • When a binded VC is used in QR login for the second (2+n) time where consent was provided by the user in the first login itself, Consent screen is not shown to the user (as /linked-authorization/v2/authenticate returns "NOCAPTURE")

if the response of /v2/authenticate has "consentAction": "CAPTURE", then consent of the user is asked else consent is not asked

Signed-off-by: Kiruthika Jeyashankar <[email protected]>
components/ui/themes/DefaultTheme.ts Show resolved Hide resolved
components/ui/themes/PurpleTheme.ts Show resolved Hide resolved
machines/QrLoginMachine.ts Show resolved Hide resolved
@KiruthikaJeyashankar KiruthikaJeyashankar changed the title [WIP] feat(INJI-438): show const based on api response in QR login flow [WIP] feat(INJI-438): show consent based on api response in QR login flow Oct 17, 2023
…-based-on-resp

Signed-off-by: Kiruthika Jeyashankar <[email protected]
.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants