miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 728 forks source link

Silent failure for unknown OAuth2 provider #2792

Closed sclu1034 closed 3 months ago

sclu1034 commented 3 months ago

It seems that an invalid value for OAUTH2_PROVIDER (typo oicd in my case) will silently act as if no OAuth was configured at all.

Running through Docker, the container's log indicated that everything was fine, with the only message being level=INFO msg="Starting HTTP server" listen_address=0.0.0.0:8080. Since I didn't know I would have to look out for a missing "Sign in with OpenID Connect" until I saw a screenshot in another issue here, I was double and tripple checking other settings and network setups instead.

An error line in the log the likes of "Invalid value for OAUTH2_PROVIDER: oicd" would be very helpful.

Version: whatever today's version on Docker Hub is