Mitsuo Heijo
362cdf7713
Fix http.Cookie SameSite is not copied. ( #450 )
...
* fix: http.Cookie SameSite is not copied.
* Update CHANGELOG.md
2020-03-17 18:48:52 +00:00
Kirill Motkov
e64e6fa514
Some code improvements
...
* Remove shadowing of predeclared identifier: new.
* strings.ReplaceAll instead of strings.Replace with -1.
* Change strings.ToLower comparison to strings.EqualFold.
* Rewrite if-else-if-else chain as a switch.
2019-10-09 15:44:26 +03:00
Joel Speed
d1ef14becc
Move cookie to pkg/encryption
2019-06-15 11:33:57 +02: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
76bd23738f
Simplify cookie creation form *options.CookieOptions
2019-05-20 11:26:12 +02:00
Joel Speed
c61f3a1c65
Use SessionStore for session in proxy
2019-05-20 11:26:10 +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
b965f25c10
Implement SaveSession in Cookie SessionStore
2019-05-18 13:10:06 +02:00
Joel Speed
15a2cf8b9e
Implement ClearSession for cookie SessionStore
2019-05-18 13:10:05 +02:00
Joel Speed
8b3a3853eb
Implement LoadSession in Cookie SessionStore
2019-05-18 13:10:04 +02:00
Joel Speed
6d162a1d78
Define session options and cookie session store types
2019-05-18 13:10:01 +02:00