Commit Graph

7 Commits (1ef4e5b5a0bbb5b5ff6c4d292c880fc55fcf183c)

Author SHA1 Message Date
Jared Scheib 38bf04d081 Log error if Heroku API req responds with non-200-range code 2018-03-02 17:16:03 -06:00
Jared Scheib 77c8bdb138 Fix Heroku OAuth by adding required HTTP req header to API GET 2018-03-02 17:07:03 -06:00
Michael Desa b5a0080546 Add group to oauth2.Principal 2018-01-10 15:56:13 -05:00
Chris Goller 9ac300cf19 Update to fix go linter issues 2017-03-06 10:11:52 -06:00
Tim Raymond 22a556e964 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 d426193597 Configure Heroku OAuth2 properly
This was erroneously left unconfigured during dev.
2017-02-16 12:56:01 -05:00
Tim Raymond 6b9c642699 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