Joel Speed
|
131206cf41
|
Ensure SessionStores can handle recieving cookies for the wrong implementation
|
2019-05-30 11:55:42 +01:00 |
|
Joel Speed
|
6d7f0ab57d
|
Make sure the cookie exists before we clear the session in redis
|
2019-05-30 10:53:53 +01:00 |
|
Joel Speed
|
66bbf146ec
|
Fix ticket retrieval with an invalid ticket
|
2019-05-30 10:10:28 +01:00 |
|
Joel Speed
|
48edce3003
|
Ensure sessions are refreshable in redis session store
|
2019-05-29 15:25:56 +01:00 |
|
Joel Speed
|
9dc1a96d81
|
Check SaveSession works when an existing session is present
|
2019-05-29 11:59:58 +01:00 |
|
Joel Speed
|
ff36b61f8c
|
Add Redis sentinel compatibility
|
2019-05-24 17:32:55 +01:00 |
|
Joel Speed
|
09d0a25ced
|
Add redis-connection-url flag
|
2019-05-20 12:58:43 +02:00 |
|
Joel Speed
|
ec04cf43d8
|
Refactor persistent tests with more Context
|
2019-05-20 12:58:42 +02:00 |
|
Joel Speed
|
a9e2d1bfa7
|
Stop miniredis after each test
|
2019-05-20 12:58:42 +02:00 |
|
Joel Speed
|
bf72731bcb
|
Run persistent tests with multiple option groups
|
2019-05-20 12:58:41 +02:00 |
|
Joel Speed
|
b770aeca63
|
Clean up persistent SessionStore tests
|
2019-05-20 12:58:40 +02:00 |
|
Joel Speed
|
0ca05bd05b
|
Tranfser all cookies in tests
|
2019-05-20 12:58:39 +02:00 |
|
Joel Speed
|
e179741b21
|
Remove spurious comment
|
2019-05-20 12:58:38 +02:00 |
|
Joel Speed
|
22b42848b8
|
Rename expire -> expiration
|
2019-05-20 12:58:37 +02:00 |
|
Joel Speed
|
d461812444
|
More obvious comment on CFB
|
2019-05-20 12:58:36 +02:00 |
|
Joel Speed
|
cf1a9c819d
|
Make loadSessionFromString private
|
2019-05-20 12:58:35 +02:00 |
|
Joel Speed
|
bae865f880
|
Fix comments on Redis options
|
2019-05-20 12:58:34 +02:00 |
|
Joel Speed
|
b791312bec
|
Fix go-redis version pin
|
2019-05-20 12:58:33 +02:00 |
|
Joel Speed
|
a21dc34282
|
Sign cookies in the Redis Session store
|
2019-05-20 12:58:32 +02:00 |
|
Joel Speed
|
febd026ffe
|
Use session CreatedAt for cookie timings
|
2019-05-20 12:58:31 +02:00 |
|
Joel Speed
|
8e7f98e461
|
Simplify redis store options
|
2019-05-20 12:58:30 +02:00 |
|
Brian Van Klaveren
|
94945238b2
|
Pin version of go-redis
|
2019-05-20 12:58:29 +02:00 |
|
Brian Van Klaveren
|
89a06a0104
|
Check cookie error and doc on cookie handling
|
2019-05-20 12:58:28 +02:00 |
|
Brian Van Klaveren
|
1f0cb4ae44
|
Add support for a redis session store
|
2019-05-20 12:58:27 +02:00 |
|
Brian Van Klaveren
|
3afb196a57
|
Fix session_state type
|
2019-05-20 12:58:24 +02:00 |
|
Joel Speed
|
10e240c8bf
|
Merge pull request #148 from pusher/proxy-session-store
Proxy session store
|
2019-05-20 12:55:39 +02:00 |
|
Joel Speed
|
d40a61613e
|
Update Changelog
|
2019-05-20 11:39:41 +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
|
37e31b5f09
|
Remove dead code
|
2019-05-20 11:26:11 +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
|
17e97ab884
|
Merge pull request #147 from pusher/session-store
Add initial session-store interface and implementation
|
2019-05-20 10:18:47 +01:00 |
|
Joel Speed
|
4ad4b11411
|
Update documentation to include session storage
|
2019-05-18 13:30:34 +02:00 |
|
Joel Speed
|
72fd3b96a6
|
Update changelog
|
2019-05-18 13:10:59 +02:00 |
|
Joel Speed
|
54393b91ed
|
Increase linter deadline
|
2019-05-18 13:10:13 +02:00 |
|
Joel Speed
|
1d29a0d094
|
Drop Session suffix from SessionStore methods
|
2019-05-18 13:10:12 +02:00 |
|
Joel Speed
|
455e0004b8
|
Include SessionOptions in Options struct
|
2019-05-18 13:10:11 +02:00 |
|
Joel Speed
|
1048584075
|
Add session-store-type flag
|
2019-05-18 13:10:10 +02:00 |
|
Joel Speed
|
65302ed34b
|
Rename RunCookieTests to RunSessionTests
|
2019-05-18 13:10:09 +02:00 |
|
Joel Speed
|
02e80b7aab
|
Check all information is encoded when cookie-secret set
|
2019-05-18 13:10:08 +02:00 |
|
Joel Speed
|
553cf89579
|
Add tests for saving and loading a session in SessionStore
|
2019-05-18 13:10:08 +02:00 |
|
Joel Speed
|
1c2ee715b3
|
Refactor session_store_test.go
|
2019-05-18 13:10:07 +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
|
965d95fd4f
|
Update dependencies
|
2019-05-18 13:10:03 +02:00 |
|
Joel Speed
|
0204054005
|
Add tests to check cookies set by SessionStores
|
2019-05-18 13:10:02 +02:00 |
|
Joel Speed
|
6d162a1d78
|
Define session options and cookie session store types
|
2019-05-18 13:10:01 +02:00 |
|