diff --git a/README.md b/README.md index 57b590d..a233ff6 100644 --- a/README.md +++ b/README.md @@ -168,8 +168,9 @@ Usage of ./echo-boilerplate: --mongodb-socket-timeout-ms duration MongoDB socket timeout ms (default 30s) --mongodb-uri string MongoDB URI (default "mongodb://localhost:27017") --mongodb-username string MongoDB username - --oauth2-client-id string OAuth2 client id - --oauth2-client-secret string OAuth2 client secret + --oauth2-google-client-id string OAuth2 Google client id + --oauth2-google-client-secret string OAuth2 Google client secret + --oauth2-providers strings OAuth2 providers --openapi-schema string OpenAPI schema file (default "./openapi/openapi.yaml") ``` diff --git a/config/config.go b/config/config.go index 246bbc2..e7c392b 100644 --- a/config/config.go +++ b/config/config.go @@ -144,7 +144,7 @@ const ( JWTRefreshTokenCookieName = "jwt-refresh-token-cookie-name" JWTRefreshTokenExpiry = "jwt-refresh-token-expiry" - OAuth2Providers = "oauth-providers" + OAuth2Providers = "oauth2-providers" OAuth2GoogleClientId = "oauth2-google-client-id" OAuth2GoogleClientSecret = "oauth2-google-client-secret"