1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-07-05 19:42:58 +00:00

Updated OAuth Login with Github and Google (markdown)

Ozzie Isaacs 2021-04-14 12:26:39 +02:00
parent a3084f4502
commit 3ccb39a77c

@ -10,7 +10,7 @@ The following screenshot shows the relevant settings.
![Settings](images/OAuth/Github_OAuth_Settings.png) ![Settings](images/OAuth/Github_OAuth_Settings.png)
The Callback routine has to end with `login/github/authorized`. The Callback routine has to end with `login\github\authorized`.
After clicking on "Register application" Github will present you the Client ID and Client secret values. After clicking on "Register application" Github will present you the Client ID and Client secret values.
If your Callback routine is a non encrypted endpoint, Calibre-Web will deny accepting tokens for this endpoint. You can overwrite the encrpytion check by setting an enviroment variable with the name `OAUTHLIB_INSECURE_TRANSPORT`. This is for obvious reasons ** NOT recommended** for productive systems. If your Callback routine is a non encrypted endpoint, Calibre-Web will deny accepting tokens for this endpoint. You can overwrite the encrpytion check by setting an enviroment variable with the name `OAUTHLIB_INSECURE_TRANSPORT`. This is for obvious reasons ** NOT recommended** for productive systems.