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

feat(IT Wallet): [SIW-1972] Remote presentation same device #6689

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

RiccardoMolinari95
Copy link
Collaborator

@RiccardoMolinari95 RiccardoMolinari95 commented Feb 5, 2025

Short description

This PR introduces the ability to start the remote presentation flow through a deep link in a same-device scenario.

List of changes proposed in this pull request

  • Updated useItwLinkingOptions to include linking options for remote deep link
  • Added ItwRemoteRequestValidationScreen, which receives the payload and validates it. If the payload is invalid, an error screen, for deeplink, will be displayed (TODO). If valid, it sends the start event to the remote presentation machine
  • Modified decodeItwRemoteBarcode to validate that the URL starts with https://continua.io.pagopa.it/itw/auth, checks the content of the QR code against the ItwRemoteRequestPayload type, and finally sends the URL

How to test

Use the following link as a deep link and to generate a QR code:
https://continua.io.pagopa.it/itw/auth?client_id=abc123xy&request_uri=https%3A%2F%2Fexample.com%2Fcallback&state=hyqizm592

Copy link
Contributor

github-actions bot commented Feb 5, 2025

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link
Contributor

github-actions bot commented Feb 5, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants