Forums | Mahara Community

Mobile Mahara /
Can I syncronise mahara app with moodle app


Nitin Mishra's profile picture
Posts: 19

20 March 2019, 22:24

If it is possible to syncronise mahara app with moodle app, so please suggest method

Kristina Hoeppner's profile picture
Posts: 4053

21 March 2019, 16:50

Hi Nitin,

There is no synchronization between Mahara Mobile and the Moodle mobile app. What are you trying to achieve?

Cheers

Kristina

Nitin Mishra's profile picture
Posts: 19

25 March 2019, 18:22

I want to access mahara mobile app via moodle mobile app through SIngle Sign On(SSO). So that user do not need to seperate login in mahara app and can access there accounts

Nitin Mishra's profile picture
Posts: 19

25 March 2019, 19:16

Actually, a institute has currently moodle and mahara websites, and they are syncronized via XMLRPC, so in same way institute want to synchronize both mobile apps also. 

Kristina Hoeppner's profile picture
Posts: 4053

28 March 2019, 14:24

Hi Nitin,

In order to use Mahara Mobile, you'll need to set up a token in Mahara for the communication to be secure and to not require you to having to log in every single time. If you have XML-RPC (MNet) and no other single sign-on, you'll need to enable the manual token generation for Mahara Mobile in Mahara as we can't log into the Mahara homepage with MNet. Instead, you'd paste the token in that a student generated to connect the two.

Since Mahara Mobile and Moodle Mobile are completely separate apps, you can't connect the two between each other. If you'd like to achieve that, investigation into the technical possibilities would be required.

Cheers

Kristina

Nitin Mishra's profile picture
Posts: 19

02 April 2019, 2:18

Hi,

 

Now I have generated token in mahara site and used same to token access mahara mobile app successfully.

But one problem is that I am not able to upload any data , journal from mobile

Error log is:  exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo: 

 

Please help.

My Mahara version - 17.04.6

 

Error logs detail below:

User (Sort by: Ascending) Institution (Sort by: Ascending) Protocol (Sort by: Ascending) Authentication type (Sort by: Ascending) Function (Sort by: Ascending) Time taken (Sort by: Ascending) When (Sort by: Ascending) Info
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03892 01 April 2019, 10:49 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03534 01 April 2019, 10:51 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03961 01 April 2019, 11:14 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03513 01 April 2019, 11:16 AM  
root - unknown - REST TOKEN   0.00307 01 April 2019, 11:16 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00314 01 April 2019, 11:17 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00301 01 April 2019, 11:21 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03672 01 April 2019, 12:12 PM  
root - unknown - REST TOKEN   0.00312 01 April 2019, 12:12 PM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00313 01 April 2019, 12:19 PM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:

 

Nitin Mishra's profile picture
Posts: 19

09 April 2019, 23:20

Hi,

 

Now I have generated token in mahara site and used same to token access mahara mobile app successfully.

But one problem is that I am not able to upload any data , journal from mobile

Error log is:  exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo: 

 

Please help.

My Mahara version - 17.04.6

 

Error logs detail below:

User (Sort by: Ascending) Institution (Sort by: Ascending) Protocol (Sort by: Ascending) Authentication type (Sort by: Ascending) Function (Sort by: Ascending) Time taken (Sort by: Ascending) When (Sort by: Ascending) Info
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03892 01 April 2019, 10:49 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03534 01 April 2019, 10:51 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03961 01 April 2019, 11:14 AM  
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03513 01 April 2019, 11:16 AM  
root - unknown - REST TOKEN   0.00307 01 April 2019, 11:16 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00314 01 April 2019, 11:17 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00301 01 April 2019, 11:21 AM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
nitinm - unknown - REST OTHER module_mobileapi_sync 0.03672 01 April 2019, 12:12 PM  
root - unknown - REST TOKEN   0.00312 01 April 2019, 12:12 PM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo:
root - unknown - REST TOKEN   0.00313 01 April 2019, 12:19 PM exception: WebserviceAccessException message: Access control exception : [[invalidtokennotsupplied/auth.webservice]] debuginfo
Kristina Hoeppner's profile picture
Posts: 4053

26 April 2019, 15:21

Hi Nitin,

I can't replicate the issue. The steps I took are (and include links to the user manual's relevant pages):

  1. Make sure that mobileapps has all green ticks and that access tokens can be set up.
  2. Go to User menu -> Settings -> Apps and generate an access token.
  3. On Mahara Mobile, enter the URL to the site (needs to be on https).
  4. The option "Access token" is displayed.
  5. I type the access token that I see on User menu -> Settings -> Apps.
  6. I create a journal post and upload that to Mahara successfully.

Are you using these steps and screens as well?

Cheers

Kristina

Nitin Mishra's profile picture
Posts: 19

26 April 2019, 23:10

Hi Kristina,

 

Thanks for your support.

I have followed these same steps. I am also able to login via token in mahara app as well as to upload journals but not be able to upload any file and audio record. As I have already send you a logs above, which clearly shows error.

 

How can I upload files and recorded audio file from mahara app. Please help

Kristina Hoeppner's profile picture
Posts: 4053

02 May 2019, 9:19

Hi Nitin,

Since I can't replicate the issue and the error message only says "invalidtokennotsupplied", it's not easy to replicate. Do you have the same issue on another phone with another account and the correct setup?

Cheers

Kristina

19 results