652f43ed38
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. |
||
---|---|---|
.. | ||
azure_test.go | ||
azure.go | ||
facebook.go | ||
github.go | ||
gitlab_test.go | ||
gitlab.go | ||
google_test.go | ||
google.go | ||
internal_util_test.go | ||
internal_util.go | ||
linkedin_test.go | ||
linkedin.go | ||
myusa_test.go | ||
myusa.go | ||
provider_data.go | ||
provider_default_test.go | ||
provider_default.go | ||
providers.go | ||
session_state_test.go | ||
session_state.go |