# Use Case 5.2 Log in to Relying Party application ## Overview | Aspect | Description | |------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **Summary** | The user logs in to a Relying Party by initiating the process on the Relying Party site, confirming their identity in the NL Wallet app,
reviewing the organization and request details, and confirming the login with PIN. | | **Goal** | Logging in to a Relying Party | | **Preconditions** | | | **Postconditions** | | | **Triggered by** | | | **Additional Documentation** | | | **Possible errors** | | | **Logical test cases** | | --- ## Flow | # | Description | Next | | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- | | **1** | **PRIMARY SCENARIO** | | | **1.1** | **System retrieves data request from verifier and displays loading indicator** | | | 1.1a | Case: Cross device flow | 1.2 | | 1.1b | Case: Same device flow | 1.3 | | 1.1c | Case: Wallet does not contain requested attribute | Error flow: Attributes missing | | 1.1d | User selects Stop | 2 | | 1.1e | Error: Session expired | Error flow: Session expired | | 1.1f | Error: No internet | Error flow: No internet | | 1.1g | Error: Server unreachable | Error flow: Server unreachable | | 1.1h | Error: Unknown verifier error | Error flow: Unknown verifier error | | 1.1i | Error: Known verifier error | Error flow: Known verifier error | | **1.2** | **System displays screen 'Website check'** | | | 1.2a | User selects Yes continue | 1.3 | | 1.2b | User selects Stop | 2 | | 1.2c | User selects About the website check | 3 | | 1.2d | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | **1.3** | **System displays screen 'Approve login organization'** | | | 1.3a | User selects Login | 1.4 | | 1.3b | User selects Check all details | 4 | | 1.3e | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 1.3f | User selects Close | 2 | | 1.3g | User selects Stop | 2 | | **1.4** | **System executes partial flow [PF2.4 Confirm a protected action](../partial-flows/PF2.4_ConfirmProtectedAction.md)** | | | 1.4a | Result: Confirm | 1.5 | | 1.4b | Result: Cancel | 2 | | 1.4c | Result: Back | Back | | **1.5** | **System determines User flow** | | | 1.5a | Case: Cross device flow | 1.6 | | 1.5b | Case: Same device flow | 1.7 | | **1.6** | **System displays screen 'Login success'** | | | 1.6a | User selects To my overview | Go to: [UC7.1 Show all available cards](UC7.1_ShowAllAvailableCards.md) | | 1.6b | User selects See activity | Go to: [UC6.3 Show event](UC6.3_ShowHistoryEvent.md) | | 1.6c | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 1.6d | User selects Close
→ System opens browser and suspends app | Go to: [UC7.1 Show all available cards](UC7.1_ShowAllAvailableCards.md) | | 1.6e | Error: No internet | Error flow: No internet | | 1.6f | Error: Server unreachable | Error flow: Server unreachable | | **1.7** | **System displays screen 'Login success'** | | | 1.7a | User selects Go to website
→ System opens browser and suspends app | | | 1.7b | User selects See activity | Go to: [UC6.3 Show event](UC6.3_ShowHistoryEvent.md) | | 1.7c | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 1.7d | User selects Close
→ System opens browser and suspends app | Go to: [UC7.1 Show all available cards](UC7.1_ShowAllAvailableCards.md) | | 1.7e | Error: No internet | Error flow: No internet | | 1.7f | Error: Server unreachable | Error flow: Server unreachable | | **2** | **STOP** | | | **2.1** | **System displays screen 'Stop'** | | | 2.1a | User selects Yes stop | | | 2.1b | User selects No | Back | | 2.1c | User selects Report a problem | 6 | | **3** | **GET WEBSITE CHECK DETAILS** | | | **3.1** | **System displays screen 'Under construction'** | | | 3.1a | User selects Back | Back | | **4** | **GET SHARING DETAILS** | | | **4.1** | **System displays screen 'Approve Organization'** | | | 4.1a | User selects [organization] | 7 | | 4.1b | User selects View data | 4.2 | | 4.1c | User selects Read the agreement | 6 | | 4.1d | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 4.1e | User selects Back | Back | | **4.2** | **System displays screen 'Requested data'** | | | 4.2a | User selects Details Incorrect | 5 | | 4.2b | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 4.2c | User selects Back | Back | | **5** | **WHEN DETAILS ARE INCORRECT** | | | **5.1** | **System displays screen 'Details incorrect'** | | | 5.1a | User selects Back | Back | | **6** | **GET SHARING AGREEMENT DETAILS** | | | **6.2** | **System displays screen 'Agreements'** | | | 6.2a | User selects Privacy policy
→ System opens browser and suspends app | | | 6.2b | User selects Back | Back | | **7** | **GET VERIFIER ORGANIZATION DETAILS** | | | **7.1** | **System displays screen 'About organization'** | | | 7.1a | User selects Help | Go to: [UC9.6 Get help](UC9.6_GetHelp.md) | | 7.1b | User selects Back | Back | | **8** | **REPORT PROBLEM** | | | **8.1** | **System displays screen 'Report problem'** | | | 8.1a | User selects Back | Back | | 8.1b | User selects Problem option | 8.2 | | **8.2** | **System displays screen 'Under construction'** | | | 8.2a | User selects Back | 8.1 |