influxdb/oauth2
Jonathan A. Sternberg 18c3c2320e Fix the github oauth2 implementation with multiple emails
If an account had multiple emails, the current implementation would
always select the first one regardless of any other settings. This fixes
it so it only chooses the primary email address that is verified.

This also fixes the generic oauth2 to require verified and primary to be
true if they are present. If they are not present, they are not
required.
2018-04-11 13:27:15 -05:00
..
auth0.go merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
auth0_test.go Add test coverage for Auth0 organizations 2017-06-28 16:29:52 -04:00
cookies.go Fix JWTs for auth-durations less than 5 mins (#1318) 2017-04-20 17:33:08 -07:00
cookies_test.go added test cases for ValidClaims() 2017-12-13 16:00:21 +01: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 Fix the github oauth2 implementation with multiple emails 2018-04-11 13:27:15 -05:00
generic_test.go Fix the github oauth2 implementation with multiple emails 2018-04-11 13:27:15 -05:00
github.go Fix the github oauth2 implementation with multiple emails 2018-04-11 13:27:15 -05:00
github_test.go Fix the github oauth2 implementation with multiple emails 2018-04-11 13:27:15 -05:00
google.go merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01: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 Log error if Heroku API req responds with non-200-range code 2018-03-02 17:16:03 -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 merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
jwt_test.go added test cases for ValidClaims() 2017-12-13 16:00:21 +01:00
mux.go added USE_ID_TOKEN option, defaulting off 2018-03-28 15:51:10 +02:00
mux_test.go Fix tests for 0a98d1c7b 2018-03-28 15:27:11 -07:00
oauth2.go merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
oauth2_test.go merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
time.go Update JWT to use Extended rather than Extend 2017-04-17 10:57:33 -05:00