mirror of
https://github.com/wahyd4/loginsrv.git
synced 2026-08-09 04:46:29 +10:00
added google support to the readme
This commit is contained in:
@@ -29,7 +29,7 @@ The following providers (login backends) are supported.
|
||||
* [Httpupstream](#httpupstream)
|
||||
* [Oauth2](#oauth2)
|
||||
* Github Login
|
||||
* .. Google and Facebook will come soon ..
|
||||
* Google Login
|
||||
|
||||
## Questions
|
||||
|
||||
@@ -49,6 +49,7 @@ _Note for Caddy users_: Not all parameters are available in Caddy. See the table
|
||||
| -cookie-http-only | boolean | true | X | Set the cookie with the http only flag |
|
||||
| -cookie-name | string | "jwt_token" | X | The name of the jwt cookie |
|
||||
| -github | value | | X | Oauth config in the form: client_id=..,client_secret=..[,scope=..,][redirect_uri=..] |
|
||||
| -google | value | | X | Oauth config in the form: client_id=..,client_secret=..[,scope=..,][redirect_uri=..] |
|
||||
| -host | string | "localhost" | - | The host to listen on |
|
||||
| -htpasswd | value | | X | Htpasswd login backend opts: file=/path/to/pwdfile |
|
||||
| -jwt-expiry | go duration | 24h | X | The expiry duration for the jwt token, e.g. 2h or 3h30m |
|
||||
@@ -239,6 +240,7 @@ The Oauth Web Flow (aka 3-leged-Oauth flow) is also supported.
|
||||
Currently the following oauth Provider is supported:
|
||||
|
||||
* github
|
||||
* google
|
||||
|
||||
An Oauth Provider supports the following parameters:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user