1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00
Commit Graph

79 Commits

Author SHA1 Message Date
4f5dbace9f Refactor persistent tests with more Context 2019-06-05 00:10:51 -07:00
7e7bfb5daf Stop miniredis after each test 2019-06-05 00:10:51 -07:00
bc3d75a2ed Run persistent tests with multiple option groups 2019-06-05 00:10:51 -07:00
42f14a41d9 Clean up persistent SessionStore tests 2019-06-05 00:10:51 -07:00
a7693cc72a Tranfser all cookies in tests 2019-06-05 00:10:51 -07:00
93df7d9132 Remove spurious comment 2019-06-05 00:10:51 -07:00
a6b8f7bde2 Rename expire -> expiration 2019-06-05 00:10:51 -07:00
2f61e42c37 More obvious comment on CFB 2019-06-05 00:10:51 -07:00
f435fa68ab Make loadSessionFromString private 2019-06-05 00:10:51 -07:00
b255ed56ef Sign cookies in the Redis Session store 2019-06-05 00:10:51 -07:00
2c566a5f5b Use session CreatedAt for cookie timings 2019-06-05 00:10:51 -07:00
296d989e58 Simplify redis store options 2019-06-05 00:10:51 -07:00
42731f0617 Check cookie error and doc on cookie handling 2019-06-05 00:10:51 -07:00
b1bd3280db Add support for a redis session store 2019-06-05 00:10:51 -07:00
093f9da881 Move cipher creation to options and away from oauth2_proxy.go 2019-05-20 11:26:13 +02:00
76bd23738f Simplify cookie creation form *options.CookieOptions 2019-05-20 11:26:12 +02:00
c61f3a1c65 Use SessionStore for session in proxy 2019-05-20 11:26:10 +02:00
34cbe0497c Add CreatedAt to SessionState 2019-05-20 11:26:09 +02:00
fbee5eae16 Initialise SessionStore in Options 2019-05-20 11:26:04 +02:00
1d29a0d094 Drop Session suffix from SessionStore methods 2019-05-18 13:10:12 +02:00
65302ed34b Rename RunCookieTests to RunSessionTests 2019-05-18 13:10:09 +02:00
02e80b7aab Check all information is encoded when cookie-secret set 2019-05-18 13:10:08 +02:00
553cf89579 Add tests for saving and loading a session in SessionStore 2019-05-18 13:10:08 +02:00
1c2ee715b3 Refactor session_store_test.go 2019-05-18 13:10:07 +02:00
b965f25c10 Implement SaveSession in Cookie SessionStore 2019-05-18 13:10:06 +02:00
15a2cf8b9e Implement ClearSession for cookie SessionStore 2019-05-18 13:10:05 +02:00
8b3a3853eb Implement LoadSession in Cookie SessionStore 2019-05-18 13:10:04 +02:00
0204054005 Add tests to check cookies set by SessionStores 2019-05-18 13:10:02 +02:00
6d162a1d78 Define session options and cookie session store types 2019-05-18 13:10:01 +02:00