Moodle Mobile App - development a addon which is accessible for not logged in users

Re: Moodle Mobile App - development a addon which is accessible for not logged in users

by wojtek kołodziejczyk -
Number of replies: 1

I think we are talking about different things here. You are talking about guest access to moodle courses etc. And what i need is to add functionality which is completely unrelated to moodle. In short, i need to display a form which will be connected to a web service, but no to the moodle.

In reply to wojtek kołodziejczyk

Re: Moodle Mobile App - development a addon which is accessible for not logged in users

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi,

if this new functionality uses a Moodle WebService, then it will not work for "guest" users (not logged in). This is because WebServices require a token to work, and this token always belong to an authenticated user.

The app allows adding addons to several places of the app, but all of them are accessible only after the user has logged in. E.g. you could add your addon to the app's side menu, but the user needs to authenticate to be able to see the side menu.

The only place I can think of to add this feature for guests is in the credentials screen (after the user has entered the URL, but before he enters the username and password). The app doesn't allow remote addons in there, so you should create a custom app to achieve this.

Kind regards,

Dani