mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:17:32 +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:
@@ -130,6 +130,7 @@ func NewOIDCIDPAddedEvent(
|
||||
clientID string,
|
||||
clientSecret *crypto.CryptoValue,
|
||||
scopes []string,
|
||||
isIDTokenMapping bool,
|
||||
options idp.Options,
|
||||
) *OIDCIDPAddedEvent {
|
||||
|
||||
@@ -146,6 +147,7 @@ func NewOIDCIDPAddedEvent(
|
||||
clientID,
|
||||
clientSecret,
|
||||
scopes,
|
||||
isIDTokenMapping,
|
||||
options,
|
||||
),
|
||||
}
|
||||
|
Reference in New Issue
Block a user