webservice php loginUser

Any issue about Cyclos 4 scripting and Webservices

Moderators: alexandre, hugo, rmvanarkel

Post Reply
guigeek
Posts: 32
Joined: Fri May 08, 2020 11:26 am

webservice php loginUser

Post by guigeek »

Hi,
i try to use the webservices php.
I use the example given in the documentation to log another user
https://documentation.cyclos.org/4.15/c ... tml#d5e728

Apparently, the authentication is OK but i have this error Error while performing login: INACCESSIBLE_PRINCIPAL.
According to the documentation, it's an error because of the connection is not allowed for this channel.
I don't know how to change the channel with the "LoginService".
I tried to use the function Cyclos\Configuration::setChannel("main"); but i have another error message : Error while performing login: INVALID_CHANNEL_USAGE.
Someone have an idea ?
I don't really understand the message INACCESSIBLE_PRINCIPAL
Thanks to all
Regards,
Guillaume
Post Reply