astubenbord / paperless-mobile

An (almost) fully fledged mobile paperless client.
GNU General Public License v3.0
685 stars 36 forks source link

[Bug]: Login not possible in paperless-ngx with OIDC #385

Closed Terminatorthre closed 7 months ago

Terminatorthre commented 7 months ago

What happened?

Hi, thanks for the great app. Not sure this is a bug or feature request actually.

I setup a brand new paperless-ngx instance that is connected to Keycloak as OIDC provider. It seems Paperless Mobile can not login to this instance and keeps spinning the wheel.

Support for OIDC Login would be awesome.

Steps to reproduce

  1. Try login with OIDC credentials in Paperless Mobile
  2. Spinning wheel

Log output from the app

No response

Screenshots

No response

Paperless-ng*x Version

2.5.1

Paperless-Mobile Version

3.2.1

Device

Google Pixel 7

Operating System Version

Android 14

Device Locale

german

Selected Locale

German

Additional Context

No response

Terminatorthre commented 7 months ago

Just noticed there is a feature request for that already, sorry. #374

ElCyborg commented 7 months ago

A note, I just discovered this myself:

If you setup an account first in paperless web, you can go and link it to a configured social provider (keycloak in my instance). This allows this app to log in with the native paperless account, and on web you can still use OIDC login flow.