mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:37:31 +00:00
fix: use idToken for mapping when using old configs (#5458)
* fix: use idToken for mapping when using old configs * fix events and add tests
This commit is contained in:
@@ -4499,6 +4499,7 @@ message AddGenericOIDCProviderRequest {
|
||||
string client_secret = 4 [(validate.rules).string = {min_len: 1, max_len: 200}];
|
||||
repeated string scopes = 5 [(validate.rules).repeated = {max_items: 20, items: {string: {min_len: 1, max_len: 100}}}];
|
||||
zitadel.idp.v1.Options provider_options = 6;
|
||||
bool is_id_token_mapping = 7;
|
||||
}
|
||||
|
||||
message AddGenericOIDCProviderResponse {
|
||||
@@ -4515,6 +4516,7 @@ message UpdateGenericOIDCProviderRequest {
|
||||
string client_secret = 5 [(validate.rules).string = {max_len: 200}];
|
||||
repeated string scopes = 6 [(validate.rules).repeated = {max_items: 20, items: {string: {min_len: 1, max_len: 100}}}];
|
||||
zitadel.idp.v1.Options provider_options = 7;
|
||||
bool is_id_token_mapping = 8;
|
||||
}
|
||||
|
||||
message UpdateGenericOIDCProviderResponse {
|
||||
|
@@ -288,6 +288,7 @@ message GenericOIDCConfig {
|
||||
string issuer = 1;
|
||||
string client_id = 2;
|
||||
repeated string scopes = 3;
|
||||
bool is_id_token_mapping = 4;
|
||||
}
|
||||
|
||||
message GitHubConfig {
|
||||
|
@@ -11173,6 +11173,7 @@ message AddGenericOIDCProviderRequest {
|
||||
string client_secret = 4 [(validate.rules).string = {min_len: 1, max_len: 200}];
|
||||
repeated string scopes = 5 [(validate.rules).repeated = {max_items: 20, items: {string: {min_len: 1, max_len: 100}}}];
|
||||
zitadel.idp.v1.Options provider_options = 6;
|
||||
bool is_id_token_mapping = 7;
|
||||
}
|
||||
|
||||
message AddGenericOIDCProviderResponse {
|
||||
@@ -11189,6 +11190,7 @@ message UpdateGenericOIDCProviderRequest {
|
||||
string client_secret = 5 [(validate.rules).string = {max_len: 200}];
|
||||
repeated string scopes = 6 [(validate.rules).repeated = {max_items: 20, items: {string: {min_len: 1, max_len: 100}}}];
|
||||
zitadel.idp.v1.Options provider_options = 7;
|
||||
bool is_id_token_mapping = 8;
|
||||
}
|
||||
|
||||
message UpdateGenericOIDCProviderResponse {
|
||||
|
Reference in New Issue
Block a user