package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.UpdateSettingsRequestContent{}
client.Prompts.UpdateSettings(
context.TODO(),
request,
)
}{
"universal_login_experience": "new",
"identifier_first": true,
"webauthn_platform_first_factor": true
}Update the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features.
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.UpdateSettingsRequestContent{}
client.Prompts.UpdateSettings(
context.TODO(),
request,
)
}{
"universal_login_experience": "new",
"identifier_first": true,
"webauthn_platform_first_factor": true
}Documentation Index
Fetch the complete documentation index at: https://auth0.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Prompts settings
Which login experience to use. Can be new or classic.
new, classic Whether identifier first is enabled or not
Use WebAuthn with Device Biometrics as the first authentication factor
Prompts settings successfully updated.
Which login experience to use. Can be new or classic.
new, classic Whether identifier first is enabled or not
Use WebAuthn with Device Biometrics as the first authentication factor
Cette page vous a-t-elle été utile ?