1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getSelfServiceProfile
Auth0 v3.17.1 published on Tuesday, Apr 15, 2025 by Pulumi

auth0.getSelfServiceProfile

Explore with Pulumi AI

Data source to retrieve a specific Auth0 Self-Service Profile by id

Example Usage

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

// An Auth0 Self-Service- Profile loaded using it's ID.
const auth0SelfServiceProfile = auth0.getSelfServiceProfile({
    id: "some-profile-id",
});
Copy
import pulumi
import pulumi_auth0 as auth0

# An Auth0 Self-Service- Profile loaded using it's ID.
auth0_self_service_profile = auth0.get_self_service_profile(id="some-profile-id")
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 {
		// An Auth0 Self-Service- Profile loaded using it's ID.
		_, err := auth0.LookupSelfServiceProfile(ctx, &auth0.LookupSelfServiceProfileArgs{
			Id: "some-profile-id",
		}, 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(() => 
{
    // An Auth0 Self-Service- Profile loaded using it's ID.
    var auth0SelfServiceProfile = Auth0.GetSelfServiceProfile.Invoke(new()
    {
        Id = "some-profile-id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetSelfServiceProfileArgs;
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) {
        // An Auth0 Self-Service- Profile loaded using it's ID.
        final var auth0SelfServiceProfile = Auth0Functions.getSelfServiceProfile(GetSelfServiceProfileArgs.builder()
            .id("some-profile-id")
            .build());

    }
}
Copy
variables:
  # An Auth0 Self-Service- Profile loaded using it's ID.
  auth0SelfServiceProfile:
    fn::invoke:
      function: auth0:getSelfServiceProfile
      arguments:
        id: some-profile-id
Copy

Using getSelfServiceProfile

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 getSelfServiceProfile(args: GetSelfServiceProfileArgs, opts?: InvokeOptions): Promise<GetSelfServiceProfileResult>
function getSelfServiceProfileOutput(args: GetSelfServiceProfileOutputArgs, opts?: InvokeOptions): Output<GetSelfServiceProfileResult>
Copy
def get_self_service_profile(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSelfServiceProfileResult
def get_self_service_profile_output(id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSelfServiceProfileResult]
Copy
func LookupSelfServiceProfile(ctx *Context, args *LookupSelfServiceProfileArgs, opts ...InvokeOption) (*LookupSelfServiceProfileResult, error)
func LookupSelfServiceProfileOutput(ctx *Context, args *LookupSelfServiceProfileOutputArgs, opts ...InvokeOption) LookupSelfServiceProfileResultOutput
Copy

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

public static class GetSelfServiceProfile 
{
    public static Task<GetSelfServiceProfileResult> InvokeAsync(GetSelfServiceProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetSelfServiceProfileResult> Invoke(GetSelfServiceProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSelfServiceProfileResult> getSelfServiceProfile(GetSelfServiceProfileArgs args, InvokeOptions options)
public static Output<GetSelfServiceProfileResult> getSelfServiceProfile(GetSelfServiceProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: auth0:index/getSelfServiceProfile:getSelfServiceProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The id of the Self Service Profile
Id This property is required. string
The id of the Self Service Profile
id This property is required. String
The id of the Self Service Profile
id This property is required. string
The id of the Self Service Profile
id This property is required. str
The id of the Self Service Profile
id This property is required. String
The id of the Self Service Profile

getSelfServiceProfile Result

The following output properties are available:

AllowedStrategies List<string>
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
Brandings List<GetSelfServiceProfileBranding>
Field can be used to customize the look and feel of the wizard.
CreatedAt string
The ISO 8601 formatted date the profile was created.
Description string
The description of the self-service Profile
Id string
The id of the Self Service Profile
Name string
The name of the self-service Profile
UpdatedAt string
The ISO 8601 formatted date the profile was updated.
UserAttributes List<GetSelfServiceProfileUserAttribute>
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
AllowedStrategies []string
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
Brandings []GetSelfServiceProfileBranding
Field can be used to customize the look and feel of the wizard.
CreatedAt string
The ISO 8601 formatted date the profile was created.
Description string
The description of the self-service Profile
Id string
The id of the Self Service Profile
Name string
The name of the self-service Profile
UpdatedAt string
The ISO 8601 formatted date the profile was updated.
UserAttributes []GetSelfServiceProfileUserAttribute
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
allowedStrategies List<String>
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
brandings List<GetSelfServiceProfileBranding>
Field can be used to customize the look and feel of the wizard.
createdAt String
The ISO 8601 formatted date the profile was created.
description String
The description of the self-service Profile
id String
The id of the Self Service Profile
name String
The name of the self-service Profile
updatedAt String
The ISO 8601 formatted date the profile was updated.
userAttributes List<GetSelfServiceProfileUserAttribute>
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
allowedStrategies string[]
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
brandings GetSelfServiceProfileBranding[]
Field can be used to customize the look and feel of the wizard.
createdAt string
The ISO 8601 formatted date the profile was created.
description string
The description of the self-service Profile
id string
The id of the Self Service Profile
name string
The name of the self-service Profile
updatedAt string
The ISO 8601 formatted date the profile was updated.
userAttributes GetSelfServiceProfileUserAttribute[]
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
allowed_strategies Sequence[str]
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
brandings Sequence[GetSelfServiceProfileBranding]
Field can be used to customize the look and feel of the wizard.
created_at str
The ISO 8601 formatted date the profile was created.
description str
The description of the self-service Profile
id str
The id of the Self Service Profile
name str
The name of the self-service Profile
updated_at str
The ISO 8601 formatted date the profile was updated.
user_attributes Sequence[GetSelfServiceProfileUserAttribute]
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
allowedStrategies List<String>
List of IdP strategies that will be shown to users during the Self-Service SSO flow.
brandings List<Property Map>
Field can be used to customize the look and feel of the wizard.
createdAt String
The ISO 8601 formatted date the profile was created.
description String
The description of the self-service Profile
id String
The id of the Self Service Profile
name String
The name of the self-service Profile
updatedAt String
The ISO 8601 formatted date the profile was updated.
userAttributes List<Property Map>
This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.

Supporting Types

GetSelfServiceProfileBranding

Colors This property is required. List<GetSelfServiceProfileBrandingColor>
Configuration settings for colors for branding.
LogoUrl This property is required. string
URL of logo to display on login page.
Colors This property is required. []GetSelfServiceProfileBrandingColor
Configuration settings for colors for branding.
LogoUrl This property is required. string
URL of logo to display on login page.
colors This property is required. List<GetSelfServiceProfileBrandingColor>
Configuration settings for colors for branding.
logoUrl This property is required. String
URL of logo to display on login page.
colors This property is required. GetSelfServiceProfileBrandingColor[]
Configuration settings for colors for branding.
logoUrl This property is required. string
URL of logo to display on login page.
colors This property is required. Sequence[GetSelfServiceProfileBrandingColor]
Configuration settings for colors for branding.
logo_url This property is required. str
URL of logo to display on login page.
colors This property is required. List<Property Map>
Configuration settings for colors for branding.
logoUrl This property is required. String
URL of logo to display on login page.

GetSelfServiceProfileBrandingColor

Primary This property is required. string
Primary button background color in hexadecimal.
Primary This property is required. string
Primary button background color in hexadecimal.
primary This property is required. String
Primary button background color in hexadecimal.
primary This property is required. string
Primary button background color in hexadecimal.
primary This property is required. str
Primary button background color in hexadecimal.
primary This property is required. String
Primary button background color in hexadecimal.

GetSelfServiceProfileUserAttribute

Description This property is required. string
A human readable description of the attribute.
IsOptional This property is required. bool
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
Name This property is required. string
Attribute’s name on Auth0 side
Description This property is required. string
A human readable description of the attribute.
IsOptional This property is required. bool
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
Name This property is required. string
Attribute’s name on Auth0 side
description This property is required. String
A human readable description of the attribute.
isOptional This property is required. Boolean
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
name This property is required. String
Attribute’s name on Auth0 side
description This property is required. string
A human readable description of the attribute.
isOptional This property is required. boolean
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
name This property is required. string
Attribute’s name on Auth0 side
description This property is required. str
A human readable description of the attribute.
is_optional This property is required. bool
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
name This property is required. str
Attribute’s name on Auth0 side
description This property is required. String
A human readable description of the attribute.
isOptional This property is required. Boolean
Indicates if this attribute is optional or if it has to be provided by the customer for the application to function.
name This property is required. String
Attribute’s name on Auth0 side

Package Details

Repository
Auth0 pulumi/pulumi-auth0
License
Apache-2.0
Notes
This Pulumi package is based on the auth0 Terraform Provider.