Login (P1)
Context
This operation happen when user want to access to webmail or cryptpad
Modules involved
- login page of SSO
- Aurion Plugin
- sso iframe
- webmail iframe
States
Not connected
- On login page, auth password is derivated from master password with Argon2ID. A secret with master password is created.
- Secret Key is sended to webmail throught webmail iframe
- Aurion Core API exchange token is generated and passed to plugin
- On webmail, in Aurion Plugin, master password is got.
- This master password is used to
- derivate auth password to connect to Aurion Core API to get the API token
- unlock keys
- Aurion Token sent to SSO throught sso. It won't be used now but eventually in protocol
logout_all.
Already connected from a previous session
- Login page skiped
- on webmail, connect to Aurion API with token
- Keys unlocked with an input from user or using the Dangerous key storage.