Login with an Token

Hello, on a logged user session on a cuba app I want to generate a temporarly token that can used on a mobile to connect withe the same user credentials on a mobile device to avoid to login on it.
Quickly the process

  • the user is logged on the cuba app, by clicking on a button the app generate a qr code with crypted token
    the user launch a mobile app on his smartphone on the login page he can scan a qr code and if he scan the qr on the cuba app screen the mobile app can connect to cuba with REST login by using the decrypted token