mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-23 11:39:32 +02:00
fix typo
This commit is contained in:
parent
64323c5231
commit
0c8d036a0c
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue