zitadel.ApplicationOidc
Explore with Pulumi AI
Resource representing an OIDC application belonging to a project, with all configuration possibilities.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumiverse.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = new Zitadel.ApplicationOidc("default", new()
{
ProjectId = data.Zitadel_project.Default.Id,
OrgId = data.Zitadel_org.Default.Id,
RedirectUris = new[]
{
"https://localhost.com",
},
ResponseTypes = new[]
{
"OIDC_RESPONSE_TYPE_CODE",
},
GrantTypes = new[]
{
"OIDC_GRANT_TYPE_AUTHORIZATION_CODE",
},
PostLogoutRedirectUris = new[]
{
"https://localhost.com",
},
AppType = "OIDC_APP_TYPE_WEB",
AuthMethodType = "OIDC_AUTH_METHOD_TYPE_BASIC",
Version = "OIDC_VERSION_1_0",
ClockSkew = "0s",
DevMode = true,
AccessTokenType = "OIDC_TOKEN_TYPE_BEARER",
AccessTokenRoleAssertion = false,
IdTokenRoleAssertion = false,
IdTokenUserinfoAssertion = false,
AdditionalOrigins = new[] {},
});
});
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.NewApplicationOidc(ctx, "default", &zitadel.ApplicationOidcArgs{
ProjectId: pulumi.Any(data.Zitadel_project.Default.Id),
OrgId: pulumi.Any(data.Zitadel_org.Default.Id),
RedirectUris: pulumi.StringArray{
pulumi.String("https://localhost.com"),
},
ResponseTypes: pulumi.StringArray{
pulumi.String("OIDC_RESPONSE_TYPE_CODE"),
},
GrantTypes: pulumi.StringArray{
pulumi.String("OIDC_GRANT_TYPE_AUTHORIZATION_CODE"),
},
PostLogoutRedirectUris: pulumi.StringArray{
pulumi.String("https://localhost.com"),
},
AppType: pulumi.String("OIDC_APP_TYPE_WEB"),
AuthMethodType: pulumi.String("OIDC_AUTH_METHOD_TYPE_BASIC"),
Version: pulumi.String("OIDC_VERSION_1_0"),
ClockSkew: pulumi.String("0s"),
DevMode: pulumi.Bool(true),
AccessTokenType: pulumi.String("OIDC_TOKEN_TYPE_BEARER"),
AccessTokenRoleAssertion: pulumi.Bool(false),
IdTokenRoleAssertion: pulumi.Bool(false),
IdTokenUserinfoAssertion: pulumi.Bool(false),
AdditionalOrigins: pulumi.StringArray{},
})
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.ApplicationOidc;
import com.pulumi.zitadel.ApplicationOidcArgs;
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) {
var default_ = new ApplicationOidc("default", ApplicationOidcArgs.builder()
.projectId(data.zitadel_project().default().id())
.orgId(data.zitadel_org().default().id())
.redirectUris("https://localhost.com")
.responseTypes("OIDC_RESPONSE_TYPE_CODE")
.grantTypes("OIDC_GRANT_TYPE_AUTHORIZATION_CODE")
.postLogoutRedirectUris("https://localhost.com")
.appType("OIDC_APP_TYPE_WEB")
.authMethodType("OIDC_AUTH_METHOD_TYPE_BASIC")
.version("OIDC_VERSION_1_0")
.clockSkew("0s")
.devMode(true)
.accessTokenType("OIDC_TOKEN_TYPE_BEARER")
.accessTokenRoleAssertion(false)
.idTokenRoleAssertion(false)
.idTokenUserinfoAssertion(false)
.additionalOrigins()
.build());
}
}
import pulumi
import pulumiverse_zitadel as zitadel
default = zitadel.ApplicationOidc("default",
project_id=data["zitadel_project"]["default"]["id"],
org_id=data["zitadel_org"]["default"]["id"],
redirect_uris=["https://localhost.com"],
response_types=["OIDC_RESPONSE_TYPE_CODE"],
grant_types=["OIDC_GRANT_TYPE_AUTHORIZATION_CODE"],
post_logout_redirect_uris=["https://localhost.com"],
app_type="OIDC_APP_TYPE_WEB",
auth_method_type="OIDC_AUTH_METHOD_TYPE_BASIC",
version="OIDC_VERSION_1_0",
clock_skew="0s",
dev_mode=True,
access_token_type="OIDC_TOKEN_TYPE_BEARER",
access_token_role_assertion=False,
id_token_role_assertion=False,
id_token_userinfo_assertion=False,
additional_origins=[])
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumiverse/zitadel";
const _default = new zitadel.ApplicationOidc("default", {
projectId: data.zitadel_project["default"].id,
orgId: data.zitadel_org["default"].id,
redirectUris: ["https://localhost.com"],
responseTypes: ["OIDC_RESPONSE_TYPE_CODE"],
grantTypes: ["OIDC_GRANT_TYPE_AUTHORIZATION_CODE"],
postLogoutRedirectUris: ["https://localhost.com"],
appType: "OIDC_APP_TYPE_WEB",
authMethodType: "OIDC_AUTH_METHOD_TYPE_BASIC",
version: "OIDC_VERSION_1_0",
clockSkew: "0s",
devMode: true,
accessTokenType: "OIDC_TOKEN_TYPE_BEARER",
accessTokenRoleAssertion: false,
idTokenRoleAssertion: false,
idTokenUserinfoAssertion: false,
additionalOrigins: [],
});
resources:
default:
type: zitadel:ApplicationOidc
properties:
projectId: ${data.zitadel_project.default.id}
orgId: ${data.zitadel_org.default.id}
redirectUris:
- https://localhost.com
responseTypes:
- OIDC_RESPONSE_TYPE_CODE
grantTypes:
- OIDC_GRANT_TYPE_AUTHORIZATION_CODE
postLogoutRedirectUris:
- https://localhost.com
appType: OIDC_APP_TYPE_WEB
authMethodType: OIDC_AUTH_METHOD_TYPE_BASIC
version: OIDC_VERSION_1_0
clockSkew: 0s
devMode: true
accessTokenType: OIDC_TOKEN_TYPE_BEARER
accessTokenRoleAssertion: false
idTokenRoleAssertion: false
idTokenUserinfoAssertion: false
additionalOrigins: []
Create ApplicationOidc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationOidc(name: string, args: ApplicationOidcArgs, opts?: CustomResourceOptions);
@overload
def ApplicationOidc(resource_name: str,
args: ApplicationOidcArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationOidc(resource_name: str,
opts: Optional[ResourceOptions] = None,
grant_types: Optional[Sequence[str]] = None,
response_types: Optional[Sequence[str]] = None,
redirect_uris: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
id_token_role_assertion: Optional[bool] = None,
clock_skew: Optional[str] = None,
dev_mode: Optional[bool] = None,
auth_method_type: Optional[str] = None,
access_token_role_assertion: Optional[bool] = None,
id_token_userinfo_assertion: Optional[bool] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
post_logout_redirect_uris: Optional[Sequence[str]] = None,
app_type: Optional[str] = None,
additional_origins: Optional[Sequence[str]] = None,
access_token_type: Optional[str] = None,
version: Optional[str] = None)
func NewApplicationOidc(ctx *Context, name string, args ApplicationOidcArgs, opts ...ResourceOption) (*ApplicationOidc, error)
public ApplicationOidc(string name, ApplicationOidcArgs args, CustomResourceOptions? opts = null)
public ApplicationOidc(String name, ApplicationOidcArgs args)
public ApplicationOidc(String name, ApplicationOidcArgs args, CustomResourceOptions options)
type: zitadel:ApplicationOidc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationOidcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationOidcArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationOidcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationOidcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationOidcArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var applicationOidcResource = new Zitadel.ApplicationOidc("applicationOidcResource", new()
{
GrantTypes = new[]
{
"string",
},
ResponseTypes = new[]
{
"string",
},
RedirectUris = new[]
{
"string",
},
ProjectId = "string",
IdTokenRoleAssertion = false,
ClockSkew = "string",
DevMode = false,
AuthMethodType = "string",
AccessTokenRoleAssertion = false,
IdTokenUserinfoAssertion = false,
Name = "string",
OrgId = "string",
PostLogoutRedirectUris = new[]
{
"string",
},
AppType = "string",
AdditionalOrigins = new[]
{
"string",
},
AccessTokenType = "string",
Version = "string",
});
example, err := zitadel.NewApplicationOidc(ctx, "applicationOidcResource", &zitadel.ApplicationOidcArgs{
GrantTypes: pulumi.StringArray{
pulumi.String("string"),
},
ResponseTypes: pulumi.StringArray{
pulumi.String("string"),
},
RedirectUris: pulumi.StringArray{
pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
IdTokenRoleAssertion: pulumi.Bool(false),
ClockSkew: pulumi.String("string"),
DevMode: pulumi.Bool(false),
AuthMethodType: pulumi.String("string"),
AccessTokenRoleAssertion: pulumi.Bool(false),
IdTokenUserinfoAssertion: pulumi.Bool(false),
Name: pulumi.String("string"),
OrgId: pulumi.String("string"),
PostLogoutRedirectUris: pulumi.StringArray{
pulumi.String("string"),
},
AppType: pulumi.String("string"),
AdditionalOrigins: pulumi.StringArray{
pulumi.String("string"),
},
AccessTokenType: pulumi.String("string"),
Version: pulumi.String("string"),
})
var applicationOidcResource = new ApplicationOidc("applicationOidcResource", ApplicationOidcArgs.builder()
.grantTypes("string")
.responseTypes("string")
.redirectUris("string")
.projectId("string")
.idTokenRoleAssertion(false)
.clockSkew("string")
.devMode(false)
.authMethodType("string")
.accessTokenRoleAssertion(false)
.idTokenUserinfoAssertion(false)
.name("string")
.orgId("string")
.postLogoutRedirectUris("string")
.appType("string")
.additionalOrigins("string")
.accessTokenType("string")
.version("string")
.build());
application_oidc_resource = zitadel.ApplicationOidc("applicationOidcResource",
grant_types=["string"],
response_types=["string"],
redirect_uris=["string"],
project_id="string",
id_token_role_assertion=False,
clock_skew="string",
dev_mode=False,
auth_method_type="string",
access_token_role_assertion=False,
id_token_userinfo_assertion=False,
name="string",
org_id="string",
post_logout_redirect_uris=["string"],
app_type="string",
additional_origins=["string"],
access_token_type="string",
version="string")
const applicationOidcResource = new zitadel.ApplicationOidc("applicationOidcResource", {
grantTypes: ["string"],
responseTypes: ["string"],
redirectUris: ["string"],
projectId: "string",
idTokenRoleAssertion: false,
clockSkew: "string",
devMode: false,
authMethodType: "string",
accessTokenRoleAssertion: false,
idTokenUserinfoAssertion: false,
name: "string",
orgId: "string",
postLogoutRedirectUris: ["string"],
appType: "string",
additionalOrigins: ["string"],
accessTokenType: "string",
version: "string",
});
type: zitadel:ApplicationOidc
properties:
accessTokenRoleAssertion: false
accessTokenType: string
additionalOrigins:
- string
appType: string
authMethodType: string
clockSkew: string
devMode: false
grantTypes:
- string
idTokenRoleAssertion: false
idTokenUserinfoAssertion: false
name: string
orgId: string
postLogoutRedirectUris:
- string
projectId: string
redirectUris:
- string
responseTypes:
- string
version: string
ApplicationOidc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApplicationOidc resource accepts the following input properties:
- Grant
Types List<string> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- Project
Id string - ID of the project
- Redirect
Uris List<string> - RedirectURIs
- Response
Types List<string> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- Access
Token boolRole Assertion - Access token role assertion
- Access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- Additional
Origins List<string> - Additional origins
- App
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- Auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- Clock
Skew string - Clockskew
- Dev
Mode bool - Dev mode
- Id
Token boolRole Assertion - ID token role assertion
- Id
Token boolUserinfo Assertion - Token userinfo assertion
- Name string
- Name of the application
- Org
Id string - ID of the organization
- Post
Logout List<string>Redirect Uris - Post logout redirect URIs
- Version string
- Version, supported values: OIDCVERSION1_0
- Grant
Types []string - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- Project
Id string - ID of the project
- Redirect
Uris []string - RedirectURIs
- Response
Types []string - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- Access
Token boolRole Assertion - Access token role assertion
- Access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- Additional
Origins []string - Additional origins
- App
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- Auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- Clock
Skew string - Clockskew
- Dev
Mode bool - Dev mode
- Id
Token boolRole Assertion - ID token role assertion
- Id
Token boolUserinfo Assertion - Token userinfo assertion
- Name string
- Name of the application
- Org
Id string - ID of the organization
- Post
Logout []stringRedirect Uris - Post logout redirect URIs
- Version string
- Version, supported values: OIDCVERSION1_0
- grant
Types List<String> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- project
Id String - ID of the project
- redirect
Uris List<String> - RedirectURIs
- response
Types List<String> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- access
Token BooleanRole Assertion - Access token role assertion
- access
Token StringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins List<String> - Additional origins
- app
Type String - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method StringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- clock
Skew String - Clockskew
- dev
Mode Boolean - Dev mode
- id
Token BooleanRole Assertion - ID token role assertion
- id
Token BooleanUserinfo Assertion - Token userinfo assertion
- name String
- Name of the application
- org
Id String - ID of the organization
- post
Logout List<String>Redirect Uris - Post logout redirect URIs
- version String
- Version, supported values: OIDCVERSION1_0
- grant
Types string[] - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- project
Id string - ID of the project
- redirect
Uris string[] - RedirectURIs
- response
Types string[] - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- access
Token booleanRole Assertion - Access token role assertion
- access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins string[] - Additional origins
- app
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- clock
Skew string - Clockskew
- dev
Mode boolean - Dev mode
- id
Token booleanRole Assertion - ID token role assertion
- id
Token booleanUserinfo Assertion - Token userinfo assertion
- name string
- Name of the application
- org
Id string - ID of the organization
- post
Logout string[]Redirect Uris - Post logout redirect URIs
- version string
- Version, supported values: OIDCVERSION1_0
- grant_
types Sequence[str] - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- project_
id str - ID of the project
- redirect_
uris Sequence[str] - RedirectURIs
- response_
types Sequence[str] - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- access_
token_ boolrole_ assertion - Access token role assertion
- access_
token_ strtype - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional_
origins Sequence[str] - Additional origins
- app_
type str - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth_
method_ strtype - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- clock_
skew str - Clockskew
- dev_
mode bool - Dev mode
- id_
token_ boolrole_ assertion - ID token role assertion
- id_
token_ booluserinfo_ assertion - Token userinfo assertion
- name str
- Name of the application
- org_
id str - ID of the organization
- post_
logout_ Sequence[str]redirect_ uris - Post logout redirect URIs
- version str
- Version, supported values: OIDCVERSION1_0
- grant
Types List<String> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- project
Id String - ID of the project
- redirect
Uris List<String> - RedirectURIs
- response
Types List<String> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- access
Token BooleanRole Assertion - Access token role assertion
- access
Token StringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins List<String> - Additional origins
- app
Type String - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method StringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- clock
Skew String - Clockskew
- dev
Mode Boolean - Dev mode
- id
Token BooleanRole Assertion - ID token role assertion
- id
Token BooleanUserinfo Assertion - Token userinfo assertion
- name String
- Name of the application
- org
Id String - ID of the organization
- post
Logout List<String>Redirect Uris - Post logout redirect URIs
- version String
- Version, supported values: OIDCVERSION1_0
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationOidc resource produces the following output properties:
- Client
Id string - generated ID for this config
- Client
Secret string - generated secret for this config
- Id string
- The provider-assigned unique ID for this managed resource.
- Client
Id string - generated ID for this config
- Client
Secret string - generated secret for this config
- Id string
- The provider-assigned unique ID for this managed resource.
- client
Id String - generated ID for this config
- client
Secret String - generated secret for this config
- id String
- The provider-assigned unique ID for this managed resource.
- client
Id string - generated ID for this config
- client
Secret string - generated secret for this config
- id string
- The provider-assigned unique ID for this managed resource.
- client_
id str - generated ID for this config
- client_
secret str - generated secret for this config
- id str
- The provider-assigned unique ID for this managed resource.
- client
Id String - generated ID for this config
- client
Secret String - generated secret for this config
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApplicationOidc Resource
Get an existing ApplicationOidc resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationOidcState, opts?: CustomResourceOptions): ApplicationOidc
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_token_role_assertion: Optional[bool] = None,
access_token_type: Optional[str] = None,
additional_origins: Optional[Sequence[str]] = None,
app_type: Optional[str] = None,
auth_method_type: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
clock_skew: Optional[str] = None,
dev_mode: Optional[bool] = None,
grant_types: Optional[Sequence[str]] = None,
id_token_role_assertion: Optional[bool] = None,
id_token_userinfo_assertion: Optional[bool] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
post_logout_redirect_uris: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
redirect_uris: Optional[Sequence[str]] = None,
response_types: Optional[Sequence[str]] = None,
version: Optional[str] = None) -> ApplicationOidc
func GetApplicationOidc(ctx *Context, name string, id IDInput, state *ApplicationOidcState, opts ...ResourceOption) (*ApplicationOidc, error)
public static ApplicationOidc Get(string name, Input<string> id, ApplicationOidcState? state, CustomResourceOptions? opts = null)
public static ApplicationOidc get(String name, Output<String> id, ApplicationOidcState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Token boolRole Assertion - Access token role assertion
- Access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- Additional
Origins List<string> - Additional origins
- App
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- Auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- Client
Id string - generated ID for this config
- Client
Secret string - generated secret for this config
- Clock
Skew string - Clockskew
- Dev
Mode bool - Dev mode
- Grant
Types List<string> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- Id
Token boolRole Assertion - ID token role assertion
- Id
Token boolUserinfo Assertion - Token userinfo assertion
- Name string
- Name of the application
- Org
Id string - ID of the organization
- Post
Logout List<string>Redirect Uris - Post logout redirect URIs
- Project
Id string - ID of the project
- Redirect
Uris List<string> - RedirectURIs
- Response
Types List<string> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- Version string
- Version, supported values: OIDCVERSION1_0
- Access
Token boolRole Assertion - Access token role assertion
- Access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- Additional
Origins []string - Additional origins
- App
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- Auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- Client
Id string - generated ID for this config
- Client
Secret string - generated secret for this config
- Clock
Skew string - Clockskew
- Dev
Mode bool - Dev mode
- Grant
Types []string - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- Id
Token boolRole Assertion - ID token role assertion
- Id
Token boolUserinfo Assertion - Token userinfo assertion
- Name string
- Name of the application
- Org
Id string - ID of the organization
- Post
Logout []stringRedirect Uris - Post logout redirect URIs
- Project
Id string - ID of the project
- Redirect
Uris []string - RedirectURIs
- Response
Types []string - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- Version string
- Version, supported values: OIDCVERSION1_0
- access
Token BooleanRole Assertion - Access token role assertion
- access
Token StringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins List<String> - Additional origins
- app
Type String - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method StringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- client
Id String - generated ID for this config
- client
Secret String - generated secret for this config
- clock
Skew String - Clockskew
- dev
Mode Boolean - Dev mode
- grant
Types List<String> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- id
Token BooleanRole Assertion - ID token role assertion
- id
Token BooleanUserinfo Assertion - Token userinfo assertion
- name String
- Name of the application
- org
Id String - ID of the organization
- post
Logout List<String>Redirect Uris - Post logout redirect URIs
- project
Id String - ID of the project
- redirect
Uris List<String> - RedirectURIs
- response
Types List<String> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- version String
- Version, supported values: OIDCVERSION1_0
- access
Token booleanRole Assertion - Access token role assertion
- access
Token stringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins string[] - Additional origins
- app
Type string - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method stringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- client
Id string - generated ID for this config
- client
Secret string - generated secret for this config
- clock
Skew string - Clockskew
- dev
Mode boolean - Dev mode
- grant
Types string[] - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- id
Token booleanRole Assertion - ID token role assertion
- id
Token booleanUserinfo Assertion - Token userinfo assertion
- name string
- Name of the application
- org
Id string - ID of the organization
- post
Logout string[]Redirect Uris - Post logout redirect URIs
- project
Id string - ID of the project
- redirect
Uris string[] - RedirectURIs
- response
Types string[] - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- version string
- Version, supported values: OIDCVERSION1_0
- access_
token_ boolrole_ assertion - Access token role assertion
- access_
token_ strtype - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional_
origins Sequence[str] - Additional origins
- app_
type str - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth_
method_ strtype - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- client_
id str - generated ID for this config
- client_
secret str - generated secret for this config
- clock_
skew str - Clockskew
- dev_
mode bool - Dev mode
- grant_
types Sequence[str] - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- id_
token_ boolrole_ assertion - ID token role assertion
- id_
token_ booluserinfo_ assertion - Token userinfo assertion
- name str
- Name of the application
- org_
id str - ID of the organization
- post_
logout_ Sequence[str]redirect_ uris - Post logout redirect URIs
- project_
id str - ID of the project
- redirect_
uris Sequence[str] - RedirectURIs
- response_
types Sequence[str] - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- version str
- Version, supported values: OIDCVERSION1_0
- access
Token BooleanRole Assertion - Access token role assertion
- access
Token StringType - Access token type, supported values: OIDCTOKENTYPEBEARER, OIDCTOKENTYPEJWT
- additional
Origins List<String> - Additional origins
- app
Type String - App type, supported values: OIDCAPPTYPEWEB, OIDCAPPTYPEUSERAGENT, OIDCAPPTYPENATIVE
- auth
Method StringType - Auth method type, supported values: OIDCAUTHMETHODTYPEBASIC, OIDCAUTHMETHODTYPEPOST, OIDCAUTHMETHODTYPENONE, OIDCAUTHMETHODTYPEPRIVATEKEYJWT
- client
Id String - generated ID for this config
- client
Secret String - generated secret for this config
- clock
Skew String - Clockskew
- dev
Mode Boolean - Dev mode
- grant
Types List<String> - Grant types, supported values: OIDCGRANTTYPEAUTHORIZATIONCODE, OIDCGRANTTYPEIMPLICIT, OIDCGRANTTYPEREFRESHTOKEN, OIDCGRANTTYPEDEVICE_CODE
- id
Token BooleanRole Assertion - ID token role assertion
- id
Token BooleanUserinfo Assertion - Token userinfo assertion
- name String
- Name of the application
- org
Id String - ID of the organization
- post
Logout List<String>Redirect Uris - Post logout redirect URIs
- project
Id String - ID of the project
- redirect
Uris List<String> - RedirectURIs
- response
Types List<String> - Response type, supported values: OIDCRESPONSETYPECODE, OIDCRESPONSETYPEIDTOKEN, OIDCRESPONSETYPEIDTOKENTOKEN
- version String
- Version, supported values: OIDCVERSION1_0
Import
terraform The resource can be imported using the ID format <id:project_id[:org_id][:client_id][:client_secret]>
, e.g.
$ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
zitadel
Terraform Provider.