zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
zitadel.getOrgOidcIdp
Explore with Pulumi AI
Datasource representing a generic OIDC IdP on the organization.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() => 
{
    var @default = Zitadel.GetOrgOidcIdp.Invoke(new()
    {
        OrgId = defaultZitadelOrg.Id,
        Id = "123456789012345678",
    });
    return new Dictionary<string, object?>
    {
        ["orgOidcIdp"] = @default,
    };
});
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := zitadel.GetOrgOidcIdp(ctx, &zitadel.GetOrgOidcIdpArgs{
			OrgId: pulumi.StringRef(defaultZitadelOrg.Id),
			Id:    "123456789012345678",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("orgOidcIdp", _default)
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.ZitadelFunctions;
import com.pulumi.zitadel.inputs.GetOrgOidcIdpArgs;
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 default = ZitadelFunctions.getOrgOidcIdp(GetOrgOidcIdpArgs.builder()
            .orgId(defaultZitadelOrg.id())
            .id("123456789012345678")
            .build());
        ctx.export("orgOidcIdp", default_);
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getOrgOidcIdp({
    orgId: defaultZitadelOrg.id,
    id: "123456789012345678",
});
export const orgOidcIdp = _default;
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_org_oidc_idp(org_id=default_zitadel_org["id"],
    id="123456789012345678")
pulumi.export("orgOidcIdp", default)
variables:
  default:
    fn::invoke:
      Function: zitadel:getOrgOidcIdp
      Arguments:
        orgId: ${defaultZitadelOrg.id}
        id: '123456789012345678'
outputs:
  orgOidcIdp: ${default}
Using getOrgOidcIdp
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 getOrgOidcIdp(args: GetOrgOidcIdpArgs, opts?: InvokeOptions): Promise<GetOrgOidcIdpResult>
function getOrgOidcIdpOutput(args: GetOrgOidcIdpOutputArgs, opts?: InvokeOptions): Output<GetOrgOidcIdpResult>def get_org_oidc_idp(id: Optional[str] = None,
                     org_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOrgOidcIdpResult
def get_org_oidc_idp_output(id: Optional[pulumi.Input[str]] = None,
                     org_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOrgOidcIdpResult]func GetOrgOidcIdp(ctx *Context, args *GetOrgOidcIdpArgs, opts ...InvokeOption) (*GetOrgOidcIdpResult, error)
func GetOrgOidcIdpOutput(ctx *Context, args *GetOrgOidcIdpOutputArgs, opts ...InvokeOption) GetOrgOidcIdpResultOutput> Note: This function is named GetOrgOidcIdp in the Go SDK.
public static class GetOrgOidcIdp 
{
    public static Task<GetOrgOidcIdpResult> InvokeAsync(GetOrgOidcIdpArgs args, InvokeOptions? opts = null)
    public static Output<GetOrgOidcIdpResult> Invoke(GetOrgOidcIdpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrgOidcIdpResult> getOrgOidcIdp(GetOrgOidcIdpArgs args, InvokeOptions options)
public static Output<GetOrgOidcIdpResult> getOrgOidcIdp(GetOrgOidcIdpArgs args, InvokeOptions options)
fn::invoke:
  function: zitadel:index/getOrgOidcIdp:getOrgOidcIdp
  arguments:
    # arguments dictionaryThe following arguments are supported:
getOrgOidcIdp Result
The following output properties are available:
- ClientId string
- client id generated by the identity provider
- ClientSecret string
- client secret generated by the identity provider
- Id string
- The ID of this resource.
- IsAuto boolCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- IsAuto boolUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- IsCreation boolAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- IsId boolToken Mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- IsLinking boolAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- Issuer string
- the issuer of the idp
- Name string
- Name of the IDP
- Scopes List<string>
- the scopes requested by ZITADEL during the request on the identity provider
- OrgId string
- ID of the organization
- ClientId string
- client id generated by the identity provider
- ClientSecret string
- client secret generated by the identity provider
- Id string
- The ID of this resource.
- IsAuto boolCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- IsAuto boolUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- IsCreation boolAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- IsId boolToken Mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- IsLinking boolAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- Issuer string
- the issuer of the idp
- Name string
- Name of the IDP
- Scopes []string
- the scopes requested by ZITADEL during the request on the identity provider
- OrgId string
- ID of the organization
- clientId String
- client id generated by the identity provider
- clientSecret String
- client secret generated by the identity provider
- id String
- The ID of this resource.
- isAuto BooleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto BooleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation BooleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isId BooleanToken Mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- isLinking BooleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- issuer String
- the issuer of the idp
- name String
- Name of the IDP
- scopes List<String>
- the scopes requested by ZITADEL during the request on the identity provider
- orgId String
- ID of the organization
- clientId string
- client id generated by the identity provider
- clientSecret string
- client secret generated by the identity provider
- id string
- The ID of this resource.
- isAuto booleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto booleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation booleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isId booleanToken Mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- isLinking booleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- issuer string
- the issuer of the idp
- name string
- Name of the IDP
- scopes string[]
- the scopes requested by ZITADEL during the request on the identity provider
- orgId string
- ID of the organization
- client_id str
- client id generated by the identity provider
- client_secret str
- client secret generated by the identity provider
- id str
- The ID of this resource.
- is_auto_ boolcreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- is_auto_ boolupdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- is_creation_ boolallowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- is_id_ booltoken_ mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- is_linking_ boolallowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- issuer str
- the issuer of the idp
- name str
- Name of the IDP
- scopes Sequence[str]
- the scopes requested by ZITADEL during the request on the identity provider
- org_id str
- ID of the organization
- clientId String
- client id generated by the identity provider
- clientSecret String
- client secret generated by the identity provider
- id String
- The ID of this resource.
- isAuto BooleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto BooleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation BooleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isId BooleanToken Mapping 
- if true, provider information get mapped from the id token, not from the userinfo endpoint.
- isLinking BooleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- issuer String
- the issuer of the idp
- name String
- Name of the IDP
- scopes List<String>
- the scopes requested by ZITADEL during the request on the identity provider
- orgId String
- ID of the organization
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the zitadelTerraform Provider.