zitadel_create_oidc_app
Create an OIDC application in a Zitadel project to get Client ID and Secret. Set redirect URIs, grant and response types for web, native, or user-agent clients.
Instructions
Create a new OIDC application in a Zitadel project. Returns the Client ID (and Client Secret for confidential clients). Configure redirect URIs, response types, and grant types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Application name | |
| appType | No | Application type (default: OIDC_APP_TYPE_WEB) | |
| devMode | No | Enable dev mode to allow http:// redirect URIs (default: false) | |
| projectId | Yes | The project ID to create the app in | |
| grantTypes | No | OAuth grant types (default: [OIDC_GRANT_TYPE_AUTHORIZATION_CODE]). Include OIDC_GRANT_TYPE_REFRESH_TOKEN to issue refresh tokens. | |
| redirectUris | Yes | OAuth redirect URIs (e.g., ["https://myapp.example.com/api/auth/callback/zitadel"]) | |
| responseTypes | No | OIDC response types (default: [OIDC_RESPONSE_TYPE_CODE]). | |
| authMethodType | No | Auth method. Use NONE for PKCE public clients (default: OIDC_AUTH_METHOD_TYPE_NONE) | |
| accessTokenType | No | Access token format. OIDC_TOKEN_TYPE_JWT issues self-contained JWTs validatable via JWKS; OIDC_TOKEN_TYPE_BEARER issues opaque reference tokens. Default OIDC_TOKEN_TYPE_BEARER. Use JWT for resource servers that validate tokens locally (e.g., agentgateway). | |
| postLogoutRedirectUris | No | Post-logout redirect URIs (optional) |