It would be cool to simplify the way the users can login into a Moodle site via the app using a similar approach to what WhatsApp do with WhatsApp web.
Overall idea would be:
- If mobile services are enabled and this feature is not disabled (we'll add an option), in the user profile we generate a QR code for a URL that will auto-login the user in the app (the URL will have the user token)
- Using the Moodle App (or a standard QR reader if the app is installed) the user will be able to scan the QR code to log-in
- Should the QR code should be valid only for a certain time? (maybe the user left his session open in a shared computer)
- Should we encode (encryption is not possible) the token/private token that will be part of the URL used to generate the QR code?