Piwigo Login in Android App not possible

Hi

I have installed Piwigo from the Yunohost Applications. The Web application runs well, however I can’t login with the official Piwigo Android App. I’m putting the credentials as follows.:
mydomain.tld/piwigo
Yunohost username
Yunohost password

The error message in the app is:
Login failed, try again.
Use JsonReader.setLenient(true) to accept malformed JSON at the line 1 column 1 path $

Maybe some issue due to the SSO in Yunohost?

My YunoHost server

Hardware: VPS bought online
YunoHost version: 3.6.5.3, Standard installation
I have access to my server : Through SSH | through the webadmin

Thanks for any hints!

Your app is installed in public or in private mode ?

Hi

It’s installed in private mode… And this is the Problem, isn’t it?

Yes, some private app define API endpoint as public on SSOWAT to allow mobile app to connect.

But piwigo don’t do that. May be it’s not possible or maybe the packager don’t know there is an android app.

You can put it in public mode or configure manually a persistent unprotected urls on ssowat on the precise API endpoint.

1 Like

Alright, thanks. I’ll try.

Edit:Bingo, works like a charm in public mode!

Hi @ljf, is there a documentation somewhere which explains how to do that?