3155ada287
Ensure sessions are refreshable in redis session store
...
(cherry picked from commit 48edce3003d187a3eadc4ea96236845271dd9360)
2019-06-05 00:11:42 -07:00
2e2327af6c
Check SaveSession works when an existing session is present
...
(cherry picked from commit 9dc1a96d817741632cb476456755a645b732db7d)
2019-06-05 00:11:42 -07:00
ae0258a203
Documentation updates around Redis and Redis Sentinel use
2019-06-05 00:11:42 -07:00
518c1d3e8e
Add Redis sentinel compatibility
...
(cherry picked from commit ff36b61f8cee4ecf0b91a90b5e1b651b526bb6b6)
2019-06-05 00:11:42 -07:00
fc06e2dbef
Update documentation and changelog for redis store
2019-06-05 00:11:42 -07:00
5095c3647d
Add redis-connection-url flag
2019-06-05 00:10:51 -07:00
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
130d03758d
Fix comments on Redis options
2019-06-05 00:10:51 -07:00
7a1fc52e33
Fix go-redis version pin
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
f2562e8973
Pin version of go-redis
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
e881612ea6
Fix session_state type
2019-06-05 00:10:51 -07:00
b6c60f52ee
Bump go-oidc
2019-06-04 10:58:35 +10:00
1355c1ce30
Merge pull request #170 from zeha/release-tarballs-as-before
...
Make release tarballs look like bitly's
2019-06-03 16:23:30 +01:00
df6b6b7ce0
Merge pull request #176 from govau/fixnogopath
...
Stop assuming that GOPATH is always set, and is a single directory
2019-06-03 16:21:39 +01:00
40cf6b2626
Merge pull request #168 from pusher/drop-1.11
...
Drop Go 1.11 from Travis CI
2019-06-03 15:22:35 +01:00
006322562d
Bump go version in configure to check for go 1.12
2019-06-03 14:59:58 +01:00
f0b6f1525b
Update changelog
2019-06-03 14:59:56 +01:00
29fb71fac5
Drop Go 1.11 from Travis CI
2019-06-03 14:59:16 +01:00
37475637cd
Install gometalinter in travis instead
2019-06-03 17:53:47 +10:00
e7d29590cd
Fix travis so that if "configure" fails, it doesn't try to run make
2019-06-03 17:47:51 +10:00
b05eb71adf
Stop assuming that GOPATH is always set, and is a single directory
...
As of I think go1.8 GOPATH is by default $HOME/go so it is incorrect to
assume that it is set.
If not set, then the Makefile assumes gometalinter will be in
/bin/gometalinter, which it likely is not, and thus fails.
We could change configure to set GOPATH in the .env, however then we
would be assuming that GOPATH is a single entry - whereas like other
paths, it can contain more than one value.
So instead this commit stops trying to install gometalinter, and like
dep, it assumes that it is installed prior.
(and since the current behaviour of the Makefile is affecting state
external to the project, that seems more logical)
2019-06-03 17:25:48 +10:00
0d56a4c570
Merge pull request #171 from benbro/master
...
Fix repo link
2019-06-01 10:06:05 +01:00
60bb8fc7ea
Fix repo link
2019-06-01 05:36:28 +03:00
076484297e
Make release tarballs look like bitly's
...
Fixes #162
2019-05-31 14:46:54 +02:00
e374805f8e
Merge pull request #169 from kskewes/alpine3.9
...
Update Docker base Alpine image to 3.9
2019-05-31 09:10:02 +01:00
d3f0cb43ca
Update Alpine to 3.9
2019-05-31 18:54:20 +12:00
f26ed5f3d1
Merge pull request #166 from cschyma/patch-1
...
fix typo
2019-05-28 14:32:41 +01:00
91346df5ac
fix typo
2019-05-28 15:26:22 +02:00
10e240c8bf
Merge pull request #148 from pusher/proxy-session-store
...
Proxy session store
2019-05-20 12:55:39 +02:00
d40a61613e
Update Changelog
2019-05-20 11:39:41 +02: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
37e31b5f09
Remove dead code
2019-05-20 11:26:11 +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
17e97ab884
Merge pull request #147 from pusher/session-store
...
Add initial session-store interface and implementation
2019-05-20 10:18:47 +01:00