1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-07-23 12:22:57 +00:00

Explanation for callback link

Ozzie Isaacs 2022-01-25 16:31:49 +01:00
parent ae20a14368
commit b9e439e75e

@ -10,7 +10,7 @@ The following screenshot shows the relevant settings.
![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` (example above is for a Calibre-Web instance living in subfolder calibre-web).
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.