1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPages
Auth0 v3.17.0 published on Wednesday, Apr 9, 2025 by Pulumi

auth0.getPages

Explore with Pulumi AI

Auth0 v3.17.0 published on Wednesday, Apr 9, 2025 by Pulumi

Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";

const myPages = auth0.getPages({});
Copy
import pulumi
import pulumi_auth0 as auth0

my_pages = auth0.get_pages()
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := auth0.LookupPages(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;

return await Deployment.RunAsync(() => 
{
    var myPages = Auth0.GetPages.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var myPages = Auth0Functions.getPages(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);

    }
}
Copy
variables:
  myPages:
    fn::invoke:
      function: auth0:getPages
      arguments: {}
Copy

Using getPages

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getPages(opts?: InvokeOptions): Promise<GetPagesResult>
function getPagesOutput(opts?: InvokeOptions): Output<GetPagesResult>
Copy
def get_pages(opts: Optional[InvokeOptions] = None) -> GetPagesResult
def get_pages_output(opts: Optional[InvokeOptions] = None) -> Output[GetPagesResult]
Copy
func LookupPages(ctx *Context, opts ...InvokeOption) (*LookupPagesResult, error)
func LookupPagesOutput(ctx *Context, opts ...InvokeOption) LookupPagesResultOutput
Copy

> Note: This function is named LookupPages in the Go SDK.

public static class GetPages 
{
    public static Task<GetPagesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetPagesResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPagesResult> getPages(InvokeOptions options)
public static Output<GetPagesResult> getPages(InvokeOptions options)
Copy
fn::invoke:
  function: auth0:index/getPages:getPages
  arguments:
    # arguments dictionary
Copy

getPages Result

The following output properties are available:

ChangePasswords List<GetPagesChangePassword>
Configuration settings for customizing the Password Reset page.
Errors List<GetPagesError>
Configuration settings for the Error pages.
GuardianMfas List<GetPagesGuardianMfa>
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
Id string
The provider-assigned unique ID for this managed resource.
Logins List<GetPagesLogin>
Configuration settings for customizing the Login page.
ChangePasswords []GetPagesChangePassword
Configuration settings for customizing the Password Reset page.
Errors []GetPagesError
Configuration settings for the Error pages.
GuardianMfas []GetPagesGuardianMfa
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
Id string
The provider-assigned unique ID for this managed resource.
Logins []GetPagesLogin
Configuration settings for customizing the Login page.
changePasswords List<GetPagesChangePassword>
Configuration settings for customizing the Password Reset page.
errors List<GetPagesError>
Configuration settings for the Error pages.
guardianMfas List<GetPagesGuardianMfa>
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
id String
The provider-assigned unique ID for this managed resource.
logins List<GetPagesLogin>
Configuration settings for customizing the Login page.
changePasswords GetPagesChangePassword[]
Configuration settings for customizing the Password Reset page.
errors GetPagesError[]
Configuration settings for the Error pages.
guardianMfas GetPagesGuardianMfa[]
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
id string
The provider-assigned unique ID for this managed resource.
logins GetPagesLogin[]
Configuration settings for customizing the Login page.
change_passwords Sequence[GetPagesChangePassword]
Configuration settings for customizing the Password Reset page.
errors Sequence[GetPagesError]
Configuration settings for the Error pages.
guardian_mfas Sequence[GetPagesGuardianMfa]
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
id str
The provider-assigned unique ID for this managed resource.
logins Sequence[GetPagesLogin]
Configuration settings for customizing the Login page.
changePasswords List<Property Map>
Configuration settings for customizing the Password Reset page.
errors List<Property Map>
Configuration settings for the Error pages.
guardianMfas List<Property Map>
Configuration settings for customizing the Guardian Multi-Factor Authentication page.
id String
The provider-assigned unique ID for this managed resource.
logins List<Property Map>
Configuration settings for customizing the Login page.

Supporting Types

GetPagesChangePassword

Enabled This property is required. bool
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Reset Password page. HTML format with supported Liquid syntax.
Enabled This property is required. bool
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Reset Password page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Reset Password page. HTML format with supported Liquid syntax.
enabled This property is required. boolean
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
html This property is required. string
Customized content for the Reset Password page. HTML format with supported Liquid syntax.
enabled This property is required. bool
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
html This property is required. str
Customized content for the Reset Password page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Reset Password page. HTML format with supported Liquid syntax.

GetPagesError

Html This property is required. string
Customized content for the Error page. HTML format with supported Liquid syntax.
ShowLogLink This property is required. bool
Indicates whether to show the link to logs as part of the default error page.
Url This property is required. string
URL to redirect to when an error occurs, instead of showing the default error page.
Html This property is required. string
Customized content for the Error page. HTML format with supported Liquid syntax.
ShowLogLink This property is required. bool
Indicates whether to show the link to logs as part of the default error page.
Url This property is required. string
URL to redirect to when an error occurs, instead of showing the default error page.
html This property is required. String
Customized content for the Error page. HTML format with supported Liquid syntax.
showLogLink This property is required. Boolean
Indicates whether to show the link to logs as part of the default error page.
url This property is required. String
URL to redirect to when an error occurs, instead of showing the default error page.
html This property is required. string
Customized content for the Error page. HTML format with supported Liquid syntax.
showLogLink This property is required. boolean
Indicates whether to show the link to logs as part of the default error page.
url This property is required. string
URL to redirect to when an error occurs, instead of showing the default error page.
html This property is required. str
Customized content for the Error page. HTML format with supported Liquid syntax.
show_log_link This property is required. bool
Indicates whether to show the link to logs as part of the default error page.
url This property is required. str
URL to redirect to when an error occurs, instead of showing the default error page.
html This property is required. String
Customized content for the Error page. HTML format with supported Liquid syntax.
showLogLink This property is required. Boolean
Indicates whether to show the link to logs as part of the default error page.
url This property is required. String
URL to redirect to when an error occurs, instead of showing the default error page.

GetPagesGuardianMfa

Enabled This property is required. bool
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.
Enabled This property is required. bool
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.
enabled This property is required. boolean
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
html This property is required. string
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.
enabled This property is required. bool
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
html This property is required. str
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Guardian MFA HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Guardian MFA page. HTML format with supported Liquid syntax.

GetPagesLogin

Enabled This property is required. bool
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Login page. HTML format with supported Liquid syntax.
Enabled This property is required. bool
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
Html This property is required. string
Customized content for the Login page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Login page. HTML format with supported Liquid syntax.
enabled This property is required. boolean
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
html This property is required. string
Customized content for the Login page. HTML format with supported Liquid syntax.
enabled This property is required. bool
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
html This property is required. str
Customized content for the Login page. HTML format with supported Liquid syntax.
enabled This property is required. Boolean
Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
html This property is required. String
Customized content for the Login page. HTML format with supported Liquid syntax.

Package Details

Repository
Auth0 pulumi/pulumi-auth0
License
Apache-2.0
Notes
This Pulumi package is based on the auth0 Terraform Provider.
Auth0 v3.17.0 published on Wednesday, Apr 9, 2025 by Pulumi