influxdb/oauth2
Chris Goller e098045a92 Fix JWTs for auth-durations less than 5 mins (#1318)
* WIP

* Fix JWTs for auth-durations less than 5 mins

For auth-duration = 0 the JWT now understands that there does not
need to be duration checks.

For auth-duration < 5 minutes > 0 the JWT lifespan will be 1/2
of auth-duration to allow one extension

There is likely a range of very short auth-duration times like, say,
less than 5 seconds that would never allow a person to login simply
because the time of issue and request is longer.

* Update changelog
2017-04-20 17:33:08 -07:00
..
cookies.go Fix JWTs for auth-durations less than 5 mins (#1318) 2017-04-20 17:33:08 -07:00
cookies_test.go Fix JWTs for auth-durations less than 5 mins (#1318) 2017-04-20 17:33:08 -07:00
doc.go Add new auth duration CLI option; add client heartbeat; fix logout (#1119) 2017-04-06 11:40:57 -07:00
generic.go Add configurable scopes to generic oauth2 support 2017-04-07 14:58:35 -05:00
generic_test.go Add test for generic oauth2 provider 2017-04-06 15:06:22 -05:00
github.go Remove unneeded authenticator from github 2017-02-14 23:09:34 -06:00
github_test.go Add new auth duration CLI option; add client heartbeat; fix logout (#1119) 2017-04-06 11:40:57 -07:00
google.go Update to fix go linter issues 2017-03-06 10:11:52 -06:00
google_test.go Add new auth duration CLI option; add client heartbeat; fix logout (#1119) 2017-04-06 11:40:57 -07:00
heroku.go Update to fix go linter issues 2017-03-06 10:11:52 -06:00
heroku_test.go Add new auth duration CLI option; add client heartbeat; fix logout (#1119) 2017-04-06 11:40:57 -07:00
jwt.go Fix JWTs for auth-durations less than 5 mins (#1318) 2017-04-20 17:33:08 -07:00
jwt_test.go Fix JWTs for auth-durations less than 5 mins (#1318) 2017-04-20 17:33:08 -07:00
mux.go Update oauth2 now time calculation to ensure UTC time 2017-04-17 10:39:01 -05:00
mux_test.go Update tests for refreshing jwts 2017-04-14 02:35:30 -05:00
oauth2.go Update oauth2 Authenticator signatures to use extend 2017-04-17 11:49:45 -05:00
oauth2_test.go Update oauth2 Authenticator signatures to use extend 2017-04-17 11:49:45 -05:00
time.go Update JWT to use Extended rather than Extend 2017-04-17 10:57:33 -05:00