Commit Graph

7 Commits (ee57435306f8a9f9ed8a22d2e3516081a2324e8d)

Author SHA1 Message Date
Jared Scheib 03e966a44a Log error if Heroku API req responds with non-200-range code 2018-03-02 17:16:03 -06:00
Jared Scheib 32632f5790 Fix Heroku OAuth by adding required HTTP req header to API GET 2018-03-02 17:07:03 -06:00
Michael Desa 8dc60c21ff Add group to oauth2.Principal 2018-01-10 15:56:13 -05:00
Chris Goller 8dc012aeac Update to fix go linter issues 2017-03-06 10:11:52 -06:00
Tim Raymond 3af13aa490 Add organization restriction on Heroku provider
This allows operators to permit access to Chronograf only to users belonging
to a set of specific Heroku organizations. This is controlled using the
HEROKU_ORGS env or the --heroku-organizations switch.
2017-02-21 13:09:42 -05:00
Tim Raymond d6b89e500e Configure Heroku OAuth2 properly
This was erroneously left unconfigured during dev.
2017-02-16 12:56:01 -05:00
Tim Raymond 510d5b1a4b Add Heroku Oauth2 Provider
This adds an Oauth2 Provider for authenticating users against Heroku's
API. In contrast to other Providers, a maintained client library for
interacting with the Heroku API was not available, so direct HTTP calls
are made instead. This follows with their documentation posted here:
https://devcenter.heroku.com/articles/oauth2-heroku-go
2017-02-16 12:05:55 -05:00