Forums | Mahara Community
generating a token for a user with REST-protocol for new webservice to upload a file to mahara
06 April 2017, 9:29 PM
is there a documentation how to generate a token for a user using the REST webservice?
We want to be able to upload files to mahara using the REST protocol. Therefor we would like to implement an automatic access token setting in order to add this special upload-funktion to mahara.
In the documentation http://manual.mahara.org/en/16.10/account/apps.html I found this information: "The majority of authentication methods should allow for the automatic setting of an access token. However, some may not (at this stage), including MNet."
The chapter "8.3.2. Generate a token" is empty. Maybe someone can give us a hint, how to implement the automatic token generation
11 April 2017, 9:52 AM
Currently, to my knowledge, the "Apps" under Settings -> Apps are tied to the Mobile API, i.e. the use with Mahara Mobile. I made a note of adding some details to section 8.3.2. It's straight forward: click the "Generate" button and paste the token into Mahara Mobile.