-
Notifications
You must be signed in to change notification settings - Fork 109
feat: [SIW-2842] Enable IT-Wallet for whitelisted users with PID L3 #7260
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
base: master
Are you sure you want to change the base?
Conversation
…als aligned with the 1.0 specs
…tor since its check is made in the itwLifecycleIsITWalletValidSelector
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7260 +/- ##
=======================================
Coverage 59.37% 59.37%
=======================================
Files 1773 1773
Lines 37819 37823 +4
Branches 8599 8606 +7
=======================================
+ Hits 22455 22458 +3
Misses 15294 15294
- Partials 70 71 +1
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Short description
This PR restricts IT-Wallet features (UI, proximity presentation, etc.) to users who have a PID L3 (1.0) and are included in the whitelist
List of changes proposed in this pull request
@pagopa/io-react-native-wallet-v2
versionitwLifecycleIsITWalletValidSelector
to check whether the user is whitelistedmdl
credential detail screenHow to test
The only scenario in which IT-Wallet and all its features should be visible is when the user is whitelisted and has a PID obtained via the 1.0 APIs with an
assurance_level
set to "high" (in short, a PID L3 obtained with CIE + PIN).In all other cases, we should still display Documents within the IO app.
Important
Regarding the
mdl
detail view, in order to display the new UI and the CTA to generate the engagement QR Code for proximity presentation, the user must meet the requirements to activate IT-Wallet and, in addition, must have themdl
in the newdc+sd-jwt
format.Note: We're making the assumption based solely on the
dc+sd-jwt
format because it is the credential used for rendering the detail view. Furthermore, if that format is present, themso_moc
format will also be available, as both are requested together in the new issuance flow.