influxdb/oauth2
Tim Raymond 6c8e889b03 Add Auth0 to supported OAuth2 providers
Auth0 is an OpenID Connect compliant OAuth2 provider, so we're able to
re-use the generic OAuth2 provider to implement it. The routes required
by Auth0 have been hardcoded for user convenience.

Also, Auth0 requires users to register a subdomain of auth0.com when
signing up. This must be provided to chronograf through the
`--auth0-domain` parameter (or `AUTH0_DOMAIN` ENV). This is **distinct**
from the `PUBLIC_URL`. For example, for a Chronograf hosted at
`http://www.example.com`, and an Auth0 domain of
`http://oceanic-airlines.auth0.com`, a client-id of `notpennysboat` and a
client-secret of `4-8-15-16-23-42`, the command line options would look
like:

```
chronograf \
  --auth0-domain=http://oceanic-airlines.auth0.com \
  --auth0-client-id=notpennysboat \
  --auth0-secret=4-8-15-16-23-24
  --public-url=http://www.example.com
  -t `uuidgen`
```
2017-06-21 10:20:46 -04:00
..
auth0.go Add Auth0 to supported OAuth2 providers 2017-06-21 10:20:46 -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 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 redirect url to generic oauth 2017-06-16 17:35:57 +08: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 Remove broken path.Join logic 2017-05-08 14:40:50 -07:00
mux_test.go Fix OAuth when using Basepath 2017-05-08 14:40:50 -07: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