oauth2_proxy/providers
Eskil Andreen 652f43ed38 Skip 404 errors when looking up Google groups
When checking user membership against Google groups the groups are checked one
at a time and in the order that they were supplied. If one of the groups does
not exist then the checking is halted with the following error.

google.go:201: googleapi: Error 404: Resource Not Found: groupKey, notFound

None of the groups following the missing group are checked either. This means
that something as trivial as a typo in the first group will make it impossible
for anybody to login.

This change catches the 404, logs a message, and then carries on as usual. In
this way a typo will cause a particular group to stop working but will not
affect any other groups.
2017-03-28 16:06:15 +02:00
..
azure_test.go Getting mail for Azure provider fix + tests 2016-06-29 09:00:08 +02:00
azure.go Getting mail for Azure provider fix + tests 2016-06-29 09:00:08 +02:00
facebook.go Facebook Authentication Provider 2016-06-23 08:43:21 -04:00
github.go add stripParam and stripToken methods to obfuscate log output 2016-08-02 21:01:44 -06:00
gitlab_test.go Add GitLab provider 2016-02-17 06:19:52 -06:00
gitlab.go Add GitLab provider 2016-02-17 06:19:52 -06:00
google_test.go *: rename Url to URL everywhere 2015-11-09 00:47:44 +01:00
google.go Skip 404 errors when looking up Google groups 2017-03-28 16:06:15 +02:00
internal_util_test.go add stripParam and stripToken methods to obfuscate log output 2016-08-02 21:01:44 -06:00
internal_util.go add stripParam and stripToken methods to obfuscate log output 2016-08-02 21:01:44 -06:00
linkedin_test.go *: rename Url to URL everywhere 2015-11-09 00:47:44 +01:00
linkedin.go *: rename Url to URL everywhere 2015-11-09 00:47:44 +01:00
myusa_test.go *: rename Url to URL everywhere 2015-11-09 00:47:44 +01:00
myusa.go *: rename Url to URL everywhere 2015-11-09 00:47:44 +01:00
provider_data.go Add Azure Provider 2016-01-20 03:57:17 -05:00
provider_default_test.go SessionState refactoring; improve token renewal and cookie refresh 2015-07-02 23:09:11 -04:00
provider_default.go Add Azure Provider 2016-01-20 03:57:17 -05:00
providers.go Facebook Authentication Provider 2016-06-23 08:43:21 -04:00
session_state_test.go base64 cookie support 2016-06-20 07:45:43 -04:00
session_state.go SessionState refactoring; improve token renewal and cookie refresh 2015-07-02 23:09:11 -04:00