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:
Livio Spring
2023-03-16 16:47:22 +01:00
committed by GitHub
parent a8a2edadc2
commit 1896f13952
24 changed files with 1371 additions and 331 deletions

View File

@@ -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,
),
}