add configuration for oauth cookie as session cookie.

This commit is contained in:
Dipumon Haridas 2022-12-15 11:06:21 +05:30
parent d542fc2cce
commit 5f6769c65f
1 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,13 @@ Read the docs on our [Docs site](https://oauth2-proxy.github.io/oauth2-proxy/doc
![OAuth2 Proxy Architecture](https://cloud.githubusercontent.com/assets/45028/8027702/bd040b7a-0d6a-11e5-85b9-f8d953d04f39.png)
### 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/).