I know that normally to get the token you make a request to:
It works, but I'm developing an app client for my university, which logs into moodle using OAuth.
Users already have mobile web service tokens, and that is also enabled. But I don't want to create a page in my app where the user enters their username and password, but rather that they authenticate through the university system, just like it works in the Moodle app itself. So how can I get the token to use the mobile web service using OAuth?