Login not working #52

Closed
opened 2022-09-13 07:08:11 +00:00 by davidoskky · 7 comments
Contributor

As reported here: https://github.com/fossar/selfoss/issues/1355
I also cannot log into my instance using the F-droid version on my phone.
Using the compiled version on an emulator running Android API 31 it works fine.

As reported here: https://github.com/fossar/selfoss/issues/1355 I also cannot log into my instance using the F-droid version on my phone. Using the compiled version on an emulator running Android API 31 it works fine.
Owner

This is solver with the new release

I'll add an APK in a few minutes for you and @jtojnar to test.

I tested it on my side.

This is solver with the new [release](https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/releases/tag/v122092561) I'll add an APK in a few minutes for you and @jtojnar to test. I tested it on my side.
AmineB added the
Type = Bug
label 2022-09-13 07:10:26 +00:00
AmineB added this to the Same as before milestone 2022-09-13 07:10:31 +00:00
AmineB added this to the Dev project 2022-09-13 07:10:34 +00:00
Owner

@davidoskky @jtojnar the test apk is attached to the release.

@davidoskky @jtojnar the test apk is attached to the release.

Thanks, I will try to test it when I find time. Also, it would be nice to use POST method for login as pointed out in https://github.com/fossar/selfoss/issues/1356. It is supported since 2.18.

Thanks, I will try to test it when I find time. Also, it would be nice to use POST method for login as pointed out in https://github.com/fossar/selfoss/issues/1356. It is [supported since 2.18](https://github.com/fossar/selfoss/commit/bfda0740fa7f3e9ae04bd26b54ef815ab46e896b).
Owner

Thanks @jtojnar.

#20 was gonna be my next task, but I may use the /login method.

I always use this wiki page as a reference. Should I use this one instead ?

Thanks @jtojnar. #20 was gonna be my next task, but I may use the `/login` method. I always use [this wiki page](https://github.com/fossar/selfoss/wiki/Restful-API-for-Apps-or-any-other-external-access) as a reference. Should I use [this one](https://github.com/fossar/selfoss/blob/8fe602691d88e40ba88c9773ab560d933ca786a0/docs/api-description.json#L12) instead ?
Author
Contributor

Works for me.

Works for me.

#20 was gonna be my next task, but I may use the /login method.

Selfoss does not currently support basic auth (only some users have their gateways configured to use it). It supports POST /login with application/x-www-form-urlencoded for body, and GET /login using query string. The latter should be avoided.

I always use this wiki page as a reference. Should I use this one instead ?

Oops, that is very outdated. The correct link is https://app.swaggerhub.com/apis/jtojnar/selfoss, I have updated the wiki to point there.

> #20 was gonna be my next task, but I may use the `/login` method. Selfoss does not currently support basic auth (only some users have their gateways configured to use it). It supports `POST /login` with `application/x-www-form-urlencoded` for body, and `GET /login` using query string. The latter should be avoided. > > I always use [this wiki page](https://github.com/fossar/selfoss/wiki/Restful-API-for-Apps-or-any-other-external-access) as a reference. Should I use [this one](https://github.com/fossar/selfoss/blob/8fe602691d88e40ba88c9773ab560d933ca786a0/docs/api-description.json#L12) instead ? Oops, that is very outdated. The correct link is https://app.swaggerhub.com/apis/jtojnar/selfoss, I have updated the wiki to point there.
Owner

the fdroid listing was just updated.

the fdroid listing was just updated.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Louvorg/ReaderForSelfoss-multiplatform#52
No description provided.