oauth2-proxy/providers
Josh Bielick f9f98cb3a7
print full error message when non-api error (#474)
when type asserting fails here, err is reassigned with nil and the
default block of the switch prints out <nil> in the error message. This
makes debugging a configuration or access token issue difficult

The particular error this surfaces is:

Response: {
  "error": "unauthorized_client",
  "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."
}

Signed-off-by: Josh Bielick <jbielick@gmail.com>
2020-04-06 09:27:24 +01:00
..
auth_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
azure.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
azure_test.go Cleaned up source to make golangci-lint pass (#418) 2020-03-14 09:58:29 +00:00
bitbucket.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
bitbucket_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
digitalocean.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
digitalocean_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
facebook.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
github.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
github_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
gitlab.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
gitlab_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
google.go print full error message when non-api error (#474) 2020-04-06 09:27:24 +01:00
google_test.go Support for client secret file. (#355) 2020-02-15 13:44:39 +00:00
internal_util.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
internal_util_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
keycloak.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
keycloak_test.go Implement graceful shutdown and propagate request context (#468) 2020-04-04 16:12:38 +01:00
linkedin.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
linkedin_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
logingov.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
logingov_test.go add login.gov provider (#55) 2019-03-20 13:44:51 +00:00
nextcloud.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
nextcloud_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
oidc.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
oidc_test.go Implement graceful shutdown and propagate request context (#468) 2020-04-04 16:12:38 +01:00
provider_data.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
provider_default.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
provider_default_test.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00
providers.go Migrate to oauth2-proxy/oauth2-proxy 2020-03-29 15:40:10 +01:00