auth0

package
v2.36.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 18 Imported by: 0

README

Auth0 Provider

Instructions

You need the SAML policy ID for the AWS account and Auth0 issues URL like below:

https://<YOUR_TENANT_NAME>.auth0.com/samlp/<AUTH0_CLIENT_ID>

Example config:

[default]
url                  = https://<YOUR_TENANT_NAME>.auth0.com/samlp/<AUTH0_CLIENT_ID>
username             = <YOUR_USRNAME>
provider             = Auth0
skip_verify          = false
timeout              = 0
aws_urn              = urn:amazon:webservices
aws_session_duration = 3600
aws_profile          = <AWS_PROFILE_NAME_FOR_DEFAULT_USE>

Features

  • Currently, this provider does not support MFA.

More details

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	provider.ValidateBase
	// contains filtered or unexported fields
}

Client wrapper around Auth0.

func New

func New(idpAccount *cfg.IDPAccount) (*Client, error)

New create a new Auth0 Client

func (*Client) Authenticate

func (ac *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)

Authenticate logs into Auth0 and returns a SAML response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL