Page 1 of 1

Re: Make apps accessible to guests

Posted: Sat Oct 16, 2010 11:25 am
by madhan
Sorry about the lack of documentation, we will get some new documentation released soon.

Meanwhile, the way the PHP plugin works is as follows.

1. In the manifest file, you can control what level of authentication is allowed to call into the PHP app.



If the call does not have the right level the call will fail.

2. There are two Tonido specific env variables which show what the auth levels are, which are passed into PHP.


The AUTH_ROLE variable will have either OWNER, GUEST or ANONYMOUS.

If it is owner
the AUTH_USER variable be empty.

If it is guest
the AUTH_USER variable be set to the name of the guest.

If it is anonymous
the AUTH_USER variable be empty.

Based on this you can figure out how you want to setup your guest access. You can set ANONYMOUS in manifest and handle your own authentication. If not, you can use Tonido's authentication.

Hope this helps.

Re: Make apps accessible to guests

Posted: Sat Oct 16, 2010 8:33 pm
by madhan
Currently, there is no way to make the app's share link appear in the guest home page.
We need to think about that.