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

Get user token in SSO environment

$
0
0
by Johan Reinalda.  

I am working on creating an addon for a 3rd party app, which will show enrolled courses, and their assignments etc. to the user from a portal web app. With a wstoken for a moodle user with the appropriate permissions, I can get course enrollments, and basic course assignment info. (using REST, but not sure that matters)

However, to show more details on the assignments (due dates, submission status, etc.), it appears I need the users' personal token, gotten with /login/token.php

Here is the problem: we are in a SSO environment, where our moodle system(s) do not have the password; they trust the SSO authority.

Is there another way to retrieve the user token?

Thanks,

Johan

 


Viewing all articles
Browse latest Browse all 2362

Trending Articles



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