Prompt

With this resource, you can manage your Auth0 prompts, including choosing the login experience version.

Example Usage

using Pulumi;
using Auth0 = Pulumi.Auth0;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Auth0.Prompt("example", new Auth0.PromptArgs
        {
            UniversalLoginExperience = "classic",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-auth0/sdk/v2/go/auth0"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := auth0.NewPrompt(ctx, "example", &auth0.PromptArgs{
			UniversalLoginExperience: pulumi.String("classic"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_auth0 as auth0

example = auth0.Prompt("example", universal_login_experience="classic")
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";

const example = new auth0.Prompt("example", {
    universalLoginExperience: "classic",
});

Create a Prompt Resource

new Prompt(name: string, args?: PromptArgs, opts?: CustomResourceOptions);
@overload
def Prompt(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           identifier_first: Optional[bool] = None,
           universal_login_experience: Optional[str] = None)
@overload
def Prompt(resource_name: str,
           args: Optional[PromptArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewPrompt(ctx *Context, name string, args *PromptArgs, opts ...ResourceOption) (*Prompt, error)
public Prompt(string name, PromptArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Prompt Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Prompt resource accepts the following input properties:

IdentifierFirst bool
UniversalLoginExperience string
Which login experience to use. Options include classic and new.
IdentifierFirst bool
UniversalLoginExperience string
Which login experience to use. Options include classic and new.
identifierFirst boolean
universalLoginExperience string
Which login experience to use. Options include classic and new.
identifier_first bool
universal_login_experience str
Which login experience to use. Options include classic and new.

Outputs

All input properties are implicitly available as output properties. Additionally, the Prompt resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Prompt Resource

Get an existing Prompt resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PromptState, opts?: CustomResourceOptions): Prompt
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        identifier_first: Optional[bool] = None,
        universal_login_experience: Optional[str] = None) -> Prompt
func GetPrompt(ctx *Context, name string, id IDInput, state *PromptState, opts ...ResourceOption) (*Prompt, error)
public static Prompt Get(string name, Input<string> id, PromptState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

IdentifierFirst bool
UniversalLoginExperience string
Which login experience to use. Options include classic and new.
IdentifierFirst bool
UniversalLoginExperience string
Which login experience to use. Options include classic and new.
identifierFirst boolean
universalLoginExperience string
Which login experience to use. Options include classic and new.
identifier_first bool
universal_login_experience str
Which login experience to use. Options include classic and new.

Package Details

Repository
https://github.com/pulumi/pulumi-auth0
License
Apache-2.0
Notes
This Pulumi package is based on the auth0 Terraform Provider.