Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-10 | update dependencies | Niall Sheridan | |
2017-02-12 | Initial pass at prometheus support. (#56) | Kevin Lyda | |
2017-02-11 | Revert "Remove the oauth_callback_url config option" | Niall Sheridan | |
2017-02-09 | Remove the oauth_callback_url config option | Niall Sheridan | |
Infer the redirect url from the request instead | |||
2017-01-25 | Return a concrete type | Niall Sheridan | |
2017-01-25 | Remove newClient function (and calls). | Kevin Lyda | |
2017-01-25 | Code cleanup. | Kevin Lyda | |
Use ParseBool instead of writing it on own. Use c.newClient(token) to get an http client. | |||
2017-01-25 | Create a gitlab auth source. | Kevin Lyda | |
Defaults to public gitlab.com, but easily redirected to self-hosted installation. | |||
2017-01-16 | Update authprovider tests | Niall Sheridan | |
2017-01-15 | Add more context to errors | Niall Sheridan | |
2016-07-17 | Add some handlers tests | Niall Sheridan | |
2016-06-14 | Update whitelisting | Niall Sheridan | |
Whitelist Google users based on their email address instead of the username part of the email address. Plain gmail (non Google Apps) accounts don't necessarily end in '@gmail.com', and whitelisting on username alone is open to abuse. Skip testing for a Google Apps domain (ui.Hd) if no domain is configured. Principals will still be added as the user part of the email address. For the Github provider, skip checking that the user is a member of an organization is none is configured. | |||
2016-06-14 | Merge pull request #21 from nsheridan/whitelist_support | Marco Bonetti | |
Add support for a users whitelist | |||
2016-06-14 | Add support for a users whitelist | Marco Bonetti | |
2016-06-13 | Run the linter as part of tests. | Niall Sheridan | |
Fix lint warnings. | |||
2016-06-06 | Save oauth 'state' identifier in the client | Niall Sheridan | |
2016-06-02 | Validate tokens correctly | Niall Sheridan | |
This switch statement doesn't do what I thought it does | |||
2016-05-28 | Set expiry time in the github auth package | Niall Sheridan | |
2016-05-24 | Don't allow wide-open Google or Github configs | Patrick O'Doherty | |
Fail loudly if either the google_opts domain value or github_opts organization values are not set in the configuration. The lack of these values means that a) in the Google case any @gmail.com address will be allowed b) the Github case any Github user will be allowed. This was previously documented but left as a foot-gun in the code. Future commits will allow for explicit wildcards to be set. | |||
2016-04-23 | Fix comments | Niall Sheridan | |
2016-04-22 | Add github oauth provider. | Niall Sheridan | |
2016-04-21 | Fix test | Niall Sheridan | |
2016-04-21 | Just make ProviderOpts a map[string]string. | Niall Sheridan | |
I have no idea why I made it a map[string]interface{} and it's a pain to deal with. | |||
2016-04-21 | Some small fixes. | Niall Sheridan | |
Rename 'GoogleOpts' to 'ProviderOpts'. Rename Principals to AdditionalPrincipals to match the config option. | |||
2016-04-20 | Add comments. | Niall Sheridan | |
2016-04-20 | dumb tests for the google auth provider | Niall Sheridan | |
2016-04-20 | dumb tests for the google auth provider | Niall Sheridan | |
2016-04-18 | Initial commit | Niall Sheridan | |