1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPages
Auth0 v3.7.1 published on Thursday, Sep 12, 2024 by Pulumi

auth0.getPages

Explore with Pulumi AI

auth0 logo
Auth0 v3.7.1 published on Thursday, Sep 12, 2024 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({});
    
    import pulumi
    import pulumi_auth0 as auth0
    
    my_pages = auth0.get_pages()
    
    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, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        var myPages = Auth0.GetPages.Invoke();
    
    });
    
    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();
    
        }
    }
    
    variables:
      myPages:
        fn::invoke:
          Function: auth0:getPages
          Arguments: {}
    

    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>
    def get_pages(opts: Optional[InvokeOptions] = None) -> GetPagesResult
    def get_pages_output(opts: Optional[InvokeOptions] = None) -> Output[GetPagesResult]
    func LookupPages(ctx *Context, opts ...InvokeOption) (*LookupPagesResult, error)
    func LookupPagesOutput(ctx *Context, opts ...InvokeOption) LookupPagesResultOutput

    > 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)
    }
    public static CompletableFuture<GetPagesResult> getPages(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: auth0:index/getPages:getPages
      arguments:
        # arguments dictionary

    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 bool
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    Html string
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.
    Enabled bool
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    Html string
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.
    enabled Boolean
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    html String
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.
    enabled boolean
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    html string
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.
    enabled bool
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    html str
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.
    enabled Boolean
    Indicates whether to use the custom Reset Password HTML (true) or the default Auth0 page (false).
    html String
    Customized content for the Reset Password page. HTML format with supported Liquid syntax.

    GetPagesError

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

    GetPagesGuardianMfa

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

    GetPagesLogin

    Enabled bool
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    Html string
    Customized content for the Login page. HTML format with supported Liquid syntax.
    Enabled bool
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    Html string
    Customized content for the Login page. HTML format with supported Liquid syntax.
    enabled Boolean
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    html String
    Customized content for the Login page. HTML format with supported Liquid syntax.
    enabled boolean
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    html string
    Customized content for the Login page. HTML format with supported Liquid syntax.
    enabled bool
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    html str
    Customized content for the Login page. HTML format with supported Liquid syntax.
    enabled Boolean
    Indicates whether to use the custom Login page HTML (true) or the default Auth0 page (false).
    html 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 logo
    Auth0 v3.7.1 published on Thursday, Sep 12, 2024 by Pulumi