io-app
io-app copied to clipboard
chore(IT Wallet): [SIW-1153] Add SPID identification flow
Short description
This PR adds the SPID identification flow for the IT Wallet credential issuance.
[!note] The result of the identification will be used to request the eID in an separate PR. This PR adds a generic
Alert
as a placeholder.
List of changes proposed in this pull request
- Fixed an issue with keys in
ItwMarkdown
component - Added useItwIdpIdentification hook which handles SPID identification flow
- Refactored
ItwIdentificationIdpSelectionScreen
to allow the SPID identification flow with theuseItwIdpIdentification
hook.
How to test
To test this PR with the io-dev-api-server
, you need to make isFeatureFlagWithMinVersionEnabled("nativeLogin")
function to return true
.
Then, navigate to Profile -> Playground -> IT Wallet -> eID -> SPID, select an IDP to start the identification.
Preview
https://github.com/pagopa/io-app/assets/6160324/6a84071e-8b14-45e7-913d-9dcf3ae4483a