OauthApp
Create a OauthApp Resource
new OauthApp(name: string, args: OauthAppArgs, opts?: CustomResourceOptions);def OauthApp(resource_name, opts=None, auto_key_rotation=None, auto_submit_toolbar=None, client_basic_secret=None, client_uri=None, consent_method=None, custom_client_id=None, grant_types=None, groups=None, hide_ios=None, hide_web=None, issuer_mode=None, label=None, login_uri=None, logo_uri=None, omit_secret=None, policy_uri=None, post_logout_redirect_uris=None, profile=None, redirect_uris=None, response_types=None, status=None, token_endpoint_auth_method=None, tos_uri=None, type=None, users=None, __props__=None);func NewOauthApp(ctx *Context, name string, args OauthAppArgs, opts ...ResourceOption) (*OauthApp, error)public OauthApp(string name, OauthAppArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args OauthAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OauthAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OauthAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
OauthApp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The OauthApp resource accepts the following input properties:
- Label string
Pretty name of app.
- Type string
The type of client application.
- Auto
Key boolRotation Requested key rotation mode.
- Auto
Submit boolToolbar Display auto submit toolbar
- Client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- Client
Uri string URI to a web page providing information about the client.
- Consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- Custom
Client stringId This property allows you to set your client_id.
- Grant
Types List<string> List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- Groups List<string>
Groups associated with the application
- Hide
Ios bool Do not display application icon on mobile app
- Hide
Web bool Do not display application icon to users
- Issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- Login
Uri string URI that initiates login.
- Logo
Uri string URI that references a logo for the client.
- Omit
Secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- Policy
Uri string Early Access Property. URI to web page providing client policy document.
- Post
Logout List<string>Redirect Uris List of URIs for redirection after logout
- Profile string
Custom JSON that represents an OAuth application’s profile
- Redirect
Uris List<string> List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- Response
Types List<string> List of OAuth 2.0 response type strings.
- Status string
Status of application.
- Token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- Tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- Users
List<Oauth
App User Args> Users associated with the application
- Label string
Pretty name of app.
- Type string
The type of client application.
- Auto
Key boolRotation Requested key rotation mode.
- Auto
Submit boolToolbar Display auto submit toolbar
- Client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- Client
Uri string URI to a web page providing information about the client.
- Consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- Custom
Client stringId This property allows you to set your client_id.
- Grant
Types []string List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- Groups []string
Groups associated with the application
- Hide
Ios bool Do not display application icon on mobile app
- Hide
Web bool Do not display application icon to users
- Issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- Login
Uri string URI that initiates login.
- Logo
Uri string URI that references a logo for the client.
- Omit
Secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- Policy
Uri string Early Access Property. URI to web page providing client policy document.
- Post
Logout []stringRedirect Uris List of URIs for redirection after logout
- Profile string
Custom JSON that represents an OAuth application’s profile
- Redirect
Uris []string List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- Response
Types []string List of OAuth 2.0 response type strings.
- Status string
Status of application.
- Token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- Tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- Users
[]Oauth
App User Users associated with the application
- label string
Pretty name of app.
- type string
The type of client application.
- auto
Key booleanRotation Requested key rotation mode.
- auto
Submit booleanToolbar Display auto submit toolbar
- client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- client
Uri string URI to a web page providing information about the client.
- consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- custom
Client stringId This property allows you to set your client_id.
- grant
Types string[] List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- groups string[]
Groups associated with the application
- hide
Ios boolean Do not display application icon on mobile app
- hide
Web boolean Do not display application icon to users
- issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- login
Uri string URI that initiates login.
- logo
Uri string URI that references a logo for the client.
- omit
Secret boolean This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- policy
Uri string Early Access Property. URI to web page providing client policy document.
- post
Logout string[]Redirect Uris List of URIs for redirection after logout
- profile string
Custom JSON that represents an OAuth application’s profile
- redirect
Uris string[] List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- response
Types string[] List of OAuth 2.0 response type strings.
- status string
Status of application.
- token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- users
Oauth
App User[] Users associated with the application
- label str
Pretty name of app.
- type str
The type of client application.
- auto_
key_ boolrotation Requested key rotation mode.
- auto_
submit_ booltoolbar Display auto submit toolbar
- client_
basic_ strsecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- client_
uri str URI to a web page providing information about the client.
- consent_
method str Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- custom_
client_ strid This property allows you to set your client_id.
- grant_
types List[str] List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- groups List[str]
Groups associated with the application
- hide_
ios bool Do not display application icon on mobile app
- hide_
web bool Do not display application icon to users
- issuer_
mode str Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- login_
uri str URI that initiates login.
- logo_
uri str URI that references a logo for the client.
- omit_
secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- policy_
uri str Early Access Property. URI to web page providing client policy document.
- post_
logout_ List[str]redirect_ uris List of URIs for redirection after logout
- profile str
Custom JSON that represents an OAuth application’s profile
- redirect_
uris List[str] List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- response_
types List[str] List of OAuth 2.0 response type strings.
- status str
Status of application.
- token_
endpoint_ strauth_ method Requested authentication method for the token endpoint.
- tos_
uri str Early Access Property. URI to web page providing client tos (terms of service).
- users
List[Oauth
App User] Users associated with the application
Outputs
All input properties are implicitly available as output properties. Additionally, the OauthApp resource produces the following output properties:
- Client
Id string OAuth client ID.
- Client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
name of app.
- Sign
On stringMode Sign on mode of application.
- Client
Id string OAuth client ID.
- Client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
name of app.
- Sign
On stringMode Sign on mode of application.
- client
Id string OAuth client ID.
- client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
name of app.
- sign
On stringMode Sign on mode of application.
- client_
id str OAuth client ID.
- client_
secret str OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
name of app.
- sign_
on_ strmode Sign on mode of application.
Look up an Existing OauthApp Resource
Get an existing OauthApp 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?: OauthAppState, opts?: CustomResourceOptions): OauthAppstatic get(resource_name, id, opts=None, auto_key_rotation=None, auto_submit_toolbar=None, client_basic_secret=None, client_id=None, client_secret=None, client_uri=None, consent_method=None, custom_client_id=None, grant_types=None, groups=None, hide_ios=None, hide_web=None, issuer_mode=None, label=None, login_uri=None, logo_uri=None, name=None, omit_secret=None, policy_uri=None, post_logout_redirect_uris=None, profile=None, redirect_uris=None, response_types=None, sign_on_mode=None, status=None, token_endpoint_auth_method=None, tos_uri=None, type=None, users=None, __props__=None);func GetOauthApp(ctx *Context, name string, id IDInput, state *OauthAppState, opts ...ResourceOption) (*OauthApp, error)public static OauthApp Get(string name, Input<string> id, OauthAppState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Auto
Key boolRotation Requested key rotation mode.
- Auto
Submit boolToolbar Display auto submit toolbar
- Client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- Client
Id string OAuth client ID.
- Client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- Client
Uri string URI to a web page providing information about the client.
- Consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- Custom
Client stringId This property allows you to set your client_id.
- Grant
Types List<string> List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- Groups List<string>
Groups associated with the application
- Hide
Ios bool Do not display application icon on mobile app
- Hide
Web bool Do not display application icon to users
- Issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- Label string
Pretty name of app.
- Login
Uri string URI that initiates login.
- Logo
Uri string URI that references a logo for the client.
- Name string
name of app.
- Omit
Secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- Policy
Uri string Early Access Property. URI to web page providing client policy document.
- Post
Logout List<string>Redirect Uris List of URIs for redirection after logout
- Profile string
Custom JSON that represents an OAuth application’s profile
- Redirect
Uris List<string> List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- Response
Types List<string> List of OAuth 2.0 response type strings.
- Sign
On stringMode Sign on mode of application.
- Status string
Status of application.
- Token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- Tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- Type string
The type of client application.
- Users
List<Oauth
App User Args> Users associated with the application
- Auto
Key boolRotation Requested key rotation mode.
- Auto
Submit boolToolbar Display auto submit toolbar
- Client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- Client
Id string OAuth client ID.
- Client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- Client
Uri string URI to a web page providing information about the client.
- Consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- Custom
Client stringId This property allows you to set your client_id.
- Grant
Types []string List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- Groups []string
Groups associated with the application
- Hide
Ios bool Do not display application icon on mobile app
- Hide
Web bool Do not display application icon to users
- Issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- Label string
Pretty name of app.
- Login
Uri string URI that initiates login.
- Logo
Uri string URI that references a logo for the client.
- Name string
name of app.
- Omit
Secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- Policy
Uri string Early Access Property. URI to web page providing client policy document.
- Post
Logout []stringRedirect Uris List of URIs for redirection after logout
- Profile string
Custom JSON that represents an OAuth application’s profile
- Redirect
Uris []string List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- Response
Types []string List of OAuth 2.0 response type strings.
- Sign
On stringMode Sign on mode of application.
- Status string
Status of application.
- Token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- Tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- Type string
The type of client application.
- Users
[]Oauth
App User Users associated with the application
- auto
Key booleanRotation Requested key rotation mode.
- auto
Submit booleanToolbar Display auto submit toolbar
- client
Basic stringSecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- client
Id string OAuth client ID.
- client
Secret string OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- client
Uri string URI to a web page providing information about the client.
- consent
Method string Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- custom
Client stringId This property allows you to set your client_id.
- grant
Types string[] List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- groups string[]
Groups associated with the application
- hide
Ios boolean Do not display application icon on mobile app
- hide
Web boolean Do not display application icon to users
- issuer
Mode string Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- label string
Pretty name of app.
- login
Uri string URI that initiates login.
- logo
Uri string URI that references a logo for the client.
- name string
name of app.
- omit
Secret boolean This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- policy
Uri string Early Access Property. URI to web page providing client policy document.
- post
Logout string[]Redirect Uris List of URIs for redirection after logout
- profile string
Custom JSON that represents an OAuth application’s profile
- redirect
Uris string[] List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- response
Types string[] List of OAuth 2.0 response type strings.
- sign
On stringMode Sign on mode of application.
- status string
Status of application.
- token
Endpoint stringAuth Method Requested authentication method for the token endpoint.
- tos
Uri string Early Access Property. URI to web page providing client tos (terms of service).
- type string
The type of client application.
- users
Oauth
App User[] Users associated with the application
- auto_
key_ boolrotation Requested key rotation mode.
- auto_
submit_ booltoolbar Display auto submit toolbar
- client_
basic_ strsecret OAuth client secret key, this can be set when token_endpoint_auth_method is client_secret_basic.
- client_
id str OAuth client ID.
- client_
secret str OAuth client secret key. This will be in plain text in your statefile unless you set omit_secret above.
- client_
uri str URI to a web page providing information about the client.
- consent_
method str Early Access Property. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED
- custom_
client_ strid This property allows you to set your client_id.
- grant_
types List[str] List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.
- groups List[str]
Groups associated with the application
- hide_
ios bool Do not display application icon on mobile app
- hide_
web bool Do not display application icon to users
- issuer_
mode str Early Access Property. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.
- label str
Pretty name of app.
- login_
uri str URI that initiates login.
- logo_
uri str URI that references a logo for the client.
- name str
name of app.
- omit_
secret bool This tells the provider not to persist the application’s secret to state. If this is ever changes from true => false your app will be recreated.
- policy_
uri str Early Access Property. URI to web page providing client policy document.
- post_
logout_ List[str]redirect_ uris List of URIs for redirection after logout
- profile str
Custom JSON that represents an OAuth application’s profile
- redirect_
uris List[str] List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta_app_oauth_redirect_uri for appending to this list in a decentralized way.
- response_
types List[str] List of OAuth 2.0 response type strings.
- sign_
on_ strmode Sign on mode of application.
- status str
Status of application.
- token_
endpoint_ strauth_ method Requested authentication method for the token endpoint.
- tos_
uri str Early Access Property. URI to web page providing client tos (terms of service).
- type str
The type of client application.
- users
List[Oauth
App User] Users associated with the application
Supporting Types
OauthAppUser
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.