Quantcast
Channel: Moodle for mobile
Viewing all articles
Browse latest Browse all 8344

Re: Inapp browser auto-login moodle mobile 3.2

$
0
0

by Dani Palou.  

Hi Sebastian,

there are only 2 ways to authenticate a user:

  1. Entering the username and password (this gives you the user token).
  2. Using the user token (obtained in the step above).

To achieve what you want to do, you should manually create a token for the user (Site administration > Plugins > Web services > Manage tokens) and use that token to authenticate the user in a custom app, the official app doesn't support this. Please notice that this is really insecure since anyone with the token can access your site as that user.

Kind regards,

Dani


Viewing all articles
Browse latest Browse all 8344

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>