Viewing docs for zitadel v0.2.0
published on Monday, Mar 24, 2025 by pulumiverse
published on Monday, Mar 24, 2025 by pulumiverse
Viewing docs for zitadel v0.2.0
published on Monday, Mar 24, 2025 by pulumiverse
published on Monday, Mar 24, 2025 by pulumiverse
Datasource representing a generic OAuth2 IDP of the organization.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = Zitadel.GetOrgIdpOauth.Invoke(new()
{
OrgId = defaultZitadelOrg.Id,
Id = "123456789012345678",
});
});
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 {
_, err := zitadel.LookupOrgIdpOauth(ctx, &zitadel.LookupOrgIdpOauthArgs{
OrgId: pulumi.StringRef(defaultZitadelOrg.Id),
Id: "123456789012345678",
}, nil)
if err != nil {
return err
}
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.GetOrgIdpOauthArgs;
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.getOrgIdpOauth(GetOrgIdpOauthArgs.builder()
.orgId(defaultZitadelOrg.id())
.id("123456789012345678")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getOrgIdpOauth({
orgId: defaultZitadelOrg.id,
id: "123456789012345678",
});
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_org_idp_oauth(org_id=default_zitadel_org["id"],
id="123456789012345678")
variables:
default:
fn::invoke:
Function: zitadel:getOrgIdpOauth
Arguments:
orgId: ${defaultZitadelOrg.id}
id: '123456789012345678'
Using getOrgIdpOauth
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 getOrgIdpOauth(args: GetOrgIdpOauthArgs, opts?: InvokeOptions): Promise<GetOrgIdpOauthResult>
function getOrgIdpOauthOutput(args: GetOrgIdpOauthOutputArgs, opts?: InvokeOptions): Output<GetOrgIdpOauthResult>def get_org_idp_oauth(id: Optional[str] = None,
org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgIdpOauthResult
def get_org_idp_oauth_output(id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrgIdpOauthResult]func LookupOrgIdpOauth(ctx *Context, args *LookupOrgIdpOauthArgs, opts ...InvokeOption) (*LookupOrgIdpOauthResult, error)
func LookupOrgIdpOauthOutput(ctx *Context, args *LookupOrgIdpOauthOutputArgs, opts ...InvokeOption) LookupOrgIdpOauthResultOutput> Note: This function is named LookupOrgIdpOauth in the Go SDK.
public static class GetOrgIdpOauth
{
public static Task<GetOrgIdpOauthResult> InvokeAsync(GetOrgIdpOauthArgs args, InvokeOptions? opts = null)
public static Output<GetOrgIdpOauthResult> Invoke(GetOrgIdpOauthInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrgIdpOauthResult> getOrgIdpOauth(GetOrgIdpOauthArgs args, InvokeOptions options)
public static Output<GetOrgIdpOauthResult> getOrgIdpOauth(GetOrgIdpOauthArgs args, InvokeOptions options)
fn::invoke:
function: zitadel:index/getOrgIdpOauth:getOrgIdpOauth
arguments:
# arguments dictionaryThe following arguments are supported:
getOrgIdpOauth Result
The following output properties are available:
- string
- The authorization endpoint
- Client
Id string - client id generated by the identity provider
- Client
Secret string - client secret generated by the identity provider
- Id string
- The ID of this resource.
- Id
Attribute string - The id attribute
- 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
Linking boolAllowed - enabled if users are able to link an existing ZITADEL user with an external account
- Name string
- Name of the IDP
- Scopes List<string>
- the scopes requested by ZITADEL during the request on the identity provider
- Token
Endpoint string - The token endpoint
- User
Endpoint string - The user endpoint
- Org
Id string - ID of the organization
- string
- The authorization endpoint
- Client
Id string - client id generated by the identity provider
- Client
Secret string - client secret generated by the identity provider
- Id string
- The ID of this resource.
- Id
Attribute string - The id attribute
- 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
Linking boolAllowed - enabled if users are able to link an existing ZITADEL user with an external account
- Name string
- Name of the IDP
- Scopes []string
- the scopes requested by ZITADEL during the request on the identity provider
- Token
Endpoint string - The token endpoint
- User
Endpoint string - The user endpoint
- Org
Id string - ID of the organization
- String
- The authorization endpoint
- client
Id String - client id generated by the identity provider
- client
Secret String - client secret generated by the identity provider
- id String
- The ID of this resource.
- id
Attribute String - The id attribute
- is
Auto BooleanCreation - enabled if a new account in ZITADEL are created automatically on login with an external account
- is
Auto BooleanUpdate - enabled if a the ZITADEL account fields are updated automatically on each login
- is
Creation BooleanAllowed - enabled if users are able to create a new account in ZITADEL when using an external account
- is
Linking BooleanAllowed - enabled if users are able to link an existing ZITADEL user with an external account
- name String
- Name of the IDP
- scopes List<String>
- the scopes requested by ZITADEL during the request on the identity provider
- token
Endpoint String - The token endpoint
- user
Endpoint String - The user endpoint
- org
Id String - ID of the organization
- string
- The authorization endpoint
- client
Id string - client id generated by the identity provider
- client
Secret string - client secret generated by the identity provider
- id string
- The ID of this resource.
- id
Attribute string - The id attribute
- is
Auto booleanCreation - enabled if a new account in ZITADEL are created automatically on login with an external account
- is
Auto booleanUpdate - enabled if a the ZITADEL account fields are updated automatically on each login
- is
Creation booleanAllowed - enabled if users are able to create a new account in ZITADEL when using an external account
- is
Linking booleanAllowed - enabled if users are able to link an existing ZITADEL user with an external account
- name string
- Name of the IDP
- scopes string[]
- the scopes requested by ZITADEL during the request on the identity provider
- token
Endpoint string - The token endpoint
- user
Endpoint string - The user endpoint
- org
Id string - ID of the organization
- str
- The authorization endpoint
- 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.
- id_
attribute str - The id attribute
- 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_
linking_ boolallowed - enabled if users are able to link an existing ZITADEL user with an external account
- name str
- Name of the IDP
- scopes Sequence[str]
- the scopes requested by ZITADEL during the request on the identity provider
- token_
endpoint str - The token endpoint
- user_
endpoint str - The user endpoint
- org_
id str - ID of the organization
- String
- The authorization endpoint
- client
Id String - client id generated by the identity provider
- client
Secret String - client secret generated by the identity provider
- id String
- The ID of this resource.
- id
Attribute String - The id attribute
- is
Auto BooleanCreation - enabled if a new account in ZITADEL are created automatically on login with an external account
- is
Auto BooleanUpdate - enabled if a the ZITADEL account fields are updated automatically on each login
- is
Creation BooleanAllowed - enabled if users are able to create a new account in ZITADEL when using an external account
- is
Linking BooleanAllowed - enabled if users are able to link an existing ZITADEL user with an external account
- name String
- Name of the IDP
- scopes List<String>
- the scopes requested by ZITADEL during the request on the identity provider
- token
Endpoint String - The token endpoint
- user
Endpoint String - The user endpoint
- org
Id 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.
Viewing docs for zitadel v0.2.0
published on Monday, Mar 24, 2025 by pulumiverse
published on Monday, Mar 24, 2025 by pulumiverse
