From 0c8d036a0ca3fdb0ac6e87ee3de5a292e6ffed1f Mon Sep 17 00:00:00 2001 From: Denis Mishin Date: Fri, 28 Apr 2023 18:52:13 -0400 Subject: [PATCH] fix typo --- internal/identity/oidc/cognito/cognito.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/internal/identity/oidc/cognito/cognito.go b/internal/identity/oidc/cognito/cognito.go index 68032f89e..74a88e9a0 100644 --- a/internal/identity/oidc/cognito/cognito.go +++ b/internal/identity/oidc/cognito/cognito.go @@ -13,17 +13,15 @@ import ( var defaultScopes = []string{"openid", "email", "profile"} -const ( - // Name identifies the Auth0 identity provider - Name = "cognito" -) +// Name identifies the Cognito identity provider +const Name = "cognito" // Provider is an Cognito implementation of the Authenticator interface. type Provider struct { *pom_oidc.Provider } -// New instantiates an OpenID Connect (OIDC) provider for Auth0. +// New instantiates an OpenID Connect (OIDC) provider for AWS Cognito. func New(ctx context.Context, opts *oauth.Options) (*Provider, error) { var p Provider