From 5f5f1558d0ba20652de40aee3044f81aade20a1e Mon Sep 17 00:00:00 2001 From: Fabi <fabienne@zitadel.com> Date: Fri, 7 Jul 2023 14:21:02 +0200 Subject: [PATCH] fix: Fix OIDC example (#6138) * fix: oidc app additional origins example * fix: oidc app additional origins example --- proto/zitadel/management.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proto/zitadel/management.proto b/proto/zitadel/management.proto index b0d5bc97fe..577a760448 100644 --- a/proto/zitadel/management.proto +++ b/proto/zitadel/management.proto @@ -8935,8 +8935,8 @@ message AddOIDCAppRequest { ]; repeated string additional_origins = 16 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "[\"https://console.zitadel.ch/auth/callback\"]"; - description: "Additional origins (other than the redirect_uris) from where the API can be used"; + example: "[\"scheme://localhost:8080\"]"; + description: "Additional origins (other than the redirect_uris) from where the API can be used, provided string has to be an origin (scheme://hostname[:port]) without path, query or fragment"; } ]; bool skip_native_app_success_page = 17 [ @@ -9110,8 +9110,8 @@ message UpdateOIDCAppConfigRequest { ]; repeated string additional_origins = 15 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "[\"https://console.zitadel.ch/auth/callback\"]"; - description: "Additional origins (other than the redirect_uris) from where the API can be used"; + example: "[\"scheme://localhost:8080\"]"; + description: "Additional origins (other than the redirect_uris) from where the API can be used, provided string has to be an origin (scheme://hostname[:port]) without path, query or fragment"; } ]; bool skip_native_app_success_page = 16 [