add configuration for oauth cookie as session cookie.
This commit is contained in:
parent
d542fc2cce
commit
5f6769c65f
|
|
@ -52,6 +52,13 @@ Read the docs on our [Docs site](https://oauth2-proxy.github.io/oauth2-proxy/doc
|
|||
|
||||

|
||||
|
||||
### Configure OAuth Proxy Cookie as Session Cookie
|
||||
|
||||
OAuth Proxy Cookie can be configured as session cookie by setting cookie expire time (**--cookie-expire**) as 0.
|
||||
|
||||
This can also be set via environment variable:
|
||||
- OAUTH2_PROXY_COOKIE_EXPIRE = 0
|
||||
|
||||
## Getting Involved
|
||||
|
||||
If you would like to reach out to the maintainers, come talk to us in the `#oauth2-proxy` channel in the [Gophers slack](http://gophers.slack.com/).
|
||||
|
|
|
|||
Loading…
Reference in New Issue