Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi
Data source to retrieve all organizations associated with a specific client grant (EA only).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
const myClientGrantOrganizations = auth0.getClientGrantOrganizations({
clientGrantId: "cgr_XXXXX",
});
import pulumi
import pulumi_auth0 as auth0
my_client_grant_organizations = auth0.get_client_grant_organizations(client_grant_id="cgr_XXXXX")
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.GetClientGrantOrganizations(ctx, &auth0.GetClientGrantOrganizationsArgs{
ClientGrantId: "cgr_XXXXX",
}, 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 myClientGrantOrganizations = Auth0.GetClientGrantOrganizations.Invoke(new()
{
ClientGrantId = "cgr_XXXXX",
});
});
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.GetClientGrantOrganizationsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 myClientGrantOrganizations = Auth0Functions.getClientGrantOrganizations(GetClientGrantOrganizationsArgs.builder()
.clientGrantId("cgr_XXXXX")
.build());
}
}
variables:
myClientGrantOrganizations:
fn::invoke:
function: auth0:getClientGrantOrganizations
arguments:
clientGrantId: cgr_XXXXX
pulumi {
required_providers {
auth0 = {
source = "pulumi/auth0"
}
}
}
data "auth0_getclientgrantorganizations" "myClientGrantOrganizations" {
client_grant_id = "cgr_XXXXX"
}
Using getClientGrantOrganizations
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 getClientGrantOrganizations(args: GetClientGrantOrganizationsArgs, opts?: InvokeOptions): Promise<GetClientGrantOrganizationsResult>
function getClientGrantOrganizationsOutput(args: GetClientGrantOrganizationsOutputArgs, opts?: InvokeOutputOptions): Output<GetClientGrantOrganizationsResult>def get_client_grant_organizations(client_grant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClientGrantOrganizationsResult
def get_client_grant_organizations_output(client_grant_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetClientGrantOrganizationsResult]func GetClientGrantOrganizations(ctx *Context, args *GetClientGrantOrganizationsArgs, opts ...InvokeOption) (*GetClientGrantOrganizationsResult, error)
func GetClientGrantOrganizationsOutput(ctx *Context, args *GetClientGrantOrganizationsOutputArgs, opts ...InvokeOption) GetClientGrantOrganizationsResultOutput> Note: This function is named GetClientGrantOrganizations in the Go SDK.
public static class GetClientGrantOrganizations
{
public static Task<GetClientGrantOrganizationsResult> InvokeAsync(GetClientGrantOrganizationsArgs args, InvokeOptions? opts = null)
public static Output<GetClientGrantOrganizationsResult> Invoke(GetClientGrantOrganizationsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetClientGrantOrganizationsResult> Invoke(GetClientGrantOrganizationsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetClientGrantOrganizationsResult> getClientGrantOrganizations(GetClientGrantOrganizationsArgs args, InvokeOptions options)
public static Output<GetClientGrantOrganizationsResult> getClientGrantOrganizations(GetClientGrantOrganizationsArgs args, InvokeOptions options)
public static Output<GetClientGrantOrganizationsResult> getClientGrantOrganizations(GetClientGrantOrganizationsArgs args, InvokeOutputOptions options)
fn::invoke:
function: auth0:index/getClientGrantOrganizations:getClientGrantOrganizations
arguments:
# arguments dictionarydata "auth0_get_client_grant_organizations" "name" {
# arguments
}The following arguments are supported:
- Client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- Client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- client_
grant_ stringid - The ID of the client grant to retrieve the associated organizations for.
- client
Grant StringId - The ID of the client grant to retrieve the associated organizations for.
- client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- client_
grant_ strid - The ID of the client grant to retrieve the associated organizations for.
- client
Grant StringId - The ID of the client grant to retrieve the associated organizations for.
getClientGrantOrganizations Result
The following output properties are available:
- Client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organizations
List<Get
Client Grant Organizations Organization> - The list of organizations associated with the client grant.
- Client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organizations
[]Get
Client Grant Organizations Organization - The list of organizations associated with the client grant.
- client_
grant_ stringid - The ID of the client grant to retrieve the associated organizations for.
- id string
- The provider-assigned unique ID for this managed resource.
- organizations list(object)
- The list of organizations associated with the client grant.
- client
Grant StringId - The ID of the client grant to retrieve the associated organizations for.
- id String
- The provider-assigned unique ID for this managed resource.
- organizations
List<Get
Client Grant Organizations Organization> - The list of organizations associated with the client grant.
- client
Grant stringId - The ID of the client grant to retrieve the associated organizations for.
- id string
- The provider-assigned unique ID for this managed resource.
- organizations
Get
Client Grant Organizations Organization[] - The list of organizations associated with the client grant.
- client_
grant_ strid - The ID of the client grant to retrieve the associated organizations for.
- id str
- The provider-assigned unique ID for this managed resource.
- organizations
Sequence[Get
Client Grant Organizations Organization] - The list of organizations associated with the client grant.
- client
Grant StringId - The ID of the client grant to retrieve the associated organizations for.
- id String
- The provider-assigned unique ID for this managed resource.
- organizations List<Property Map>
- The list of organizations associated with the client grant.
Supporting Types
GetClientGrantOrganizationsOrganization
- Brandings
List<Get
Client Grant Organizations Organization Branding> - How to style the login pages for this organization.
- Display
Name string - Friendly name of the organization.
- Is
App boolEntitlement Active - Whether this organization's app entitlement is active (EA only).
- Metadata Dictionary<string, string>
- Metadata associated with the organization.
- Name string
- The name of the organization.
- Organization
Id string - The ID of the organization.
- Third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - Token
Quotas List<GetClient Grant Organizations Organization Token Quota> - The token quota configuration for this organization.
- Brandings
[]Get
Client Grant Organizations Organization Branding - How to style the login pages for this organization.
- Display
Name string - Friendly name of the organization.
- Is
App boolEntitlement Active - Whether this organization's app entitlement is active (EA only).
- Metadata map[string]string
- Metadata associated with the organization.
- Name string
- The name of the organization.
- Organization
Id string - The ID of the organization.
- Third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - Token
Quotas []GetClient Grant Organizations Organization Token Quota - The token quota configuration for this organization.
- brandings list(object)
- How to style the login pages for this organization.
- display_
name string - Friendly name of the organization.
- is_
app_ boolentitlement_ active - Whether this organization's app entitlement is active (EA only).
- metadata map(string)
- Metadata associated with the organization.
- name string
- The name of the organization.
- organization_
id string - The ID of the organization.
- third_
party_ stringclient_ access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token_
quotas list(object) - The token quota configuration for this organization.
- brandings
List<Get
Client Grant Organizations Organization Branding> - How to style the login pages for this organization.
- display
Name String - Friendly name of the organization.
- is
App BooleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata Map<String,String>
- Metadata associated with the organization.
- name String
- The name of the organization.
- organization
Id String - The ID of the organization.
- third
Party StringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas List<GetClient Grant Organizations Organization Token Quota> - The token quota configuration for this organization.
- brandings
Get
Client Grant Organizations Organization Branding[] - How to style the login pages for this organization.
- display
Name string - Friendly name of the organization.
- is
App booleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata {[key: string]: string}
- Metadata associated with the organization.
- name string
- The name of the organization.
- organization
Id string - The ID of the organization.
- third
Party stringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas GetClient Grant Organizations Organization Token Quota[] - The token quota configuration for this organization.
- brandings
Sequence[Get
Client Grant Organizations Organization Branding] - How to style the login pages for this organization.
- display_
name str - Friendly name of the organization.
- is_
app_ boolentitlement_ active - Whether this organization's app entitlement is active (EA only).
- metadata Mapping[str, str]
- Metadata associated with the organization.
- name str
- The name of the organization.
- organization_
id str - The ID of the organization.
- third_
party_ strclient_ access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token_
quotas Sequence[GetClient Grant Organizations Organization Token Quota] - The token quota configuration for this organization.
- brandings List<Property Map>
- How to style the login pages for this organization.
- display
Name String - Friendly name of the organization.
- is
App BooleanEntitlement Active - Whether this organization's app entitlement is active (EA only).
- metadata Map<String>
- Metadata associated with the organization.
- name String
- The name of the organization.
- organization
Id String - The ID of the organization.
- third
Party StringClient Access - Controls whether this organization can be used in user flows with third-party clients. Available values are
alloworblock. - token
Quotas List<Property Map> - The token quota configuration for this organization.
GetClientGrantOrganizationsOrganizationBranding
GetClientGrantOrganizationsOrganizationTokenQuota
- Client
Credentials List<GetClient Grant Organizations Organization Token Quota Client Credential> - The token quota configuration for client credentials.
- Client
Credentials []GetClient Grant Organizations Organization Token Quota Client Credential - The token quota configuration for client credentials.
- client_
credentials list(object) - The token quota configuration for client credentials.
- client
Credentials List<GetClient Grant Organizations Organization Token Quota Client Credential> - The token quota configuration for client credentials.
- client
Credentials GetClient Grant Organizations Organization Token Quota Client Credential[] - The token quota configuration for client credentials.
- client_
credentials Sequence[GetClient Grant Organizations Organization Token Quota Client Credential] - The token quota configuration for client credentials.
- client
Credentials List<Property Map> - The token quota configuration for client credentials.
GetClientGrantOrganizationsOrganizationTokenQuotaClientCredential
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v3.51.0
published on Tuesday, Aug 18, 2026 by Pulumi
published on Tuesday, Aug 18, 2026 by Pulumi