qvest-digital / loginsrv

JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
MIT License
1.92k stars 148 forks source link

No such provider: Google #180

Closed averri closed 3 years ago

averri commented 3 years ago

Trying to configure the Google provider with:

LOGINSRV_BACKEND=provider=google,client_id=???,client_secret=???

... where the original data have been replaced by ??? just to protect the information here.

The logs shows the following error:

{"@timestamp":"2020-12-05T23:39:11.323457564Z","@version":"1","error":"No such provider: Google","event":"stop","level":"error","message":"stopping application: loginsrv (No such provider: google)","type":"lifecycle"}

What's missing?!

averri commented 3 years ago

I have tested using LOGINSRV_GOOGLE=client_id=???,client_secret=???, and it worked fine!