Guest With Authorization

Any issue about Cyclos 4 scripting and Webservices

Moderators: alexandre, hugo, rmvanarkel

Post Reply
barry
Posts: 173
Joined: Fri Oct 26, 2012 9:42 am

Guest With Authorization

Post by barry »

Hello Admin,

What is Guest with authorization in the image below? I would like to know how know the following;
  • How it is set-up
  • How it works and
  • How access is given to a guest
If there is a link to this somewhere, kindly share.

Many thanks,
Barry


Guest With Authorization.png
Guest With Authorization.png (42.56 KiB) Viewed 34852 times
luis
Posts: 265
Joined: Fri Feb 17, 2006 11:01 am

Re: Guest With Authorization

Post by luis »

It will be a guest, as far as Cyclos is concerned (no logged user), but a fixed HTTP Basic authentication user and password are used to protect the web service. So:
  • Guest: No auth is required to invoke the web service entry point. In the Cyclos script, sessionData.loggedUser is null
  • Guest with auth: A fixed, BASIC authentication is required to be passed to invoke the entry point (as configured in the custom web service details page). In the script, sessionData.loggedUser is null
  • User: A valid user authorization is required to invoke the entry point ( https://documentation.cyclos.org/curren ... vices-auth ). In the script, sessionData.loggedUser returns the authenticated user
Luis Fernando Planella Gonzalez
Cyclos development team
Post Reply