From 449285fda3918d67db73895296437ed3a73cdb24 Mon Sep 17 00:00:00 2001 From: David Skewis Date: Mon, 10 Nov 2025 14:05:50 +0000 Subject: [PATCH] fix(console): add config for missing frameworks in app creation (#11057) # Which Problems Are Solved - Solves the issue of app creation when selecting go, python, ruby, php, java, spring and node # How the Problems Are Solved - Adds the appropriate configs for each app type # Additional Context - Closes #11052 --- console/src/app/utils/framework.ts | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/console/src/app/utils/framework.ts b/console/src/app/utils/framework.ts index 467cdb13416..3813422c2c6 100644 --- a/console/src/app/utils/framework.ts +++ b/console/src/app/utils/framework.ts @@ -43,6 +43,55 @@ export const OIDC_CONFIGURATIONS: OidcAppConfigurations = { .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) .setRedirectUrisList(['http://localhost:18080/webapp/login/oauth2/code/zitadel']) .setPostLogoutRedirectUrisList(['http://localhost:18080/webapp']), + ['client-java']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_NONE) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:18080/webapp/login/oauth2/code/zitadel']) + .setPostLogoutRedirectUrisList(['http://localhost:18080/webapp']), + ['spring']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:8080/login/oauth2/code/zitadel']) + .setPostLogoutRedirectUrisList(['http://localhost:8080']), + ['client-php']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:8080/callback']) + .setPostLogoutRedirectUrisList(['http://localhost:8080']), + ['client-python']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:8000/callback']) + .setPostLogoutRedirectUrisList(['http://localhost:8000']), + ['client-node']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:3000/callback']) + .setPostLogoutRedirectUrisList(['http://localhost:3000']), + ['client-go']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:8080/auth/callback']) + .setPostLogoutRedirectUrisList(['http://localhost:8080']), + ['client-ruby']: new AddOIDCAppRequest() + .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) + .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC) + .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) + .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) + .setRedirectUrisList(['http://localhost:3000/callback']) + .setPostLogoutRedirectUrisList(['http://localhost:3000']), ['symfony']: new AddOIDCAppRequest() .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB) .setAuthMethodType(OIDCAuthMethodType.OIDC_AUTH_METHOD_TYPE_BASIC)