Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Get user token in SSO environment

$
0
0

by JF Bélisle.  

HI,

I see a lot of post of people asking to use Web Services with an SSO auth plugin, but... no answers... 

In order to use a web service, we need to provide a token which can be obtain when providing username and password:

moodle/login/token.php?username=USERNAME&password=PASSWORD&service=SERVICE

Since there is no password in moodle database when using SSO, how can we get a token ??


We upgraded to moodle 3.4 to have the mobile moodle additionnal features, which is fine, I can define like typeoflogin to present an "in app" webview with the predefined login url.

How to intergrate all of that in an external native application that's needs fetching user authenticated data ?


Thank you 





Viewing all articles
Browse latest Browse all 2361

Trending Articles



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