Paul Groudas
5d0827a028
Add configuration for cookie 'SameSite' value.
...
Values of 'lax' and 'strict' can improve and mitigate
some categories of cross-site traffic tampering.
Given that the nature of this proxy is often to proxy
private tools, this is useful to take advantage of.
See: https://www.owasp.org/index.php/SameSite
2020-01-06 12:21:52 -05:00
Lukasz Leszczuk
06a283e581
Fix settings naming
2019-11-12 16:11:27 +01:00
Lukasz Leszczuk
3f7ed36e46
Add support for Redis with custom CA.
2019-11-08 10:47:18 +01:00
Joel Speed
d1ef14becc
Move cookie to pkg/encryption
2019-06-15 11:33:57 +02:00
Joel Speed
518c1d3e8e
Add Redis sentinel compatibility
...
(cherry picked from commit ff36b61f8cee4ecf0b91a90b5e1b651b526bb6b6)
2019-06-05 00:11:42 -07:00
Joel Speed
130d03758d
Fix comments on Redis options
2019-06-05 00:10:51 -07:00
Brian Van Klaveren
b1bd3280db
Add support for a redis session store
2019-06-05 00:10:51 -07:00
Brian Van Klaveren
e881612ea6
Fix session_state type
2019-06-05 00:10:51 -07:00
Joel Speed
093f9da881
Move cipher creation to options and away from oauth2_proxy.go
2019-05-20 11:26:13 +02:00
Joel Speed
34cbe0497c
Add CreatedAt to SessionState
2019-05-20 11:26:09 +02:00
Joel Speed
fbee5eae16
Initialise SessionStore in Options
2019-05-20 11:26:04 +02:00
Joel Speed
1d29a0d094
Drop Session suffix from SessionStore methods
2019-05-18 13:10:12 +02:00
Joel Speed
6d162a1d78
Define session options and cookie session store types
2019-05-18 13:10:01 +02:00
Joel Speed
530acff38c
Add SessionStore interface
2019-05-18 13:10:00 +02:00
Joel Speed
fd6655411b
Move cookie configuration to separate package
2019-05-18 13:09:59 +02:00
Joel Speed
2ab8a7d95d
Move SessionState to its own package
2019-05-18 13:09:56 +02:00