From 76f5234119f438cfab4e825dd3801db6bc42a10d Mon Sep 17 00:00:00 2001 From: Mark Czotter Date: Mon, 12 Dec 2022 15:03:20 +0100 Subject: [PATCH] fix(auth): add default configuration values for JWKS claim settings --- .../core/identity/jwks/JwksIdentityProviderConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/identity/jwks/JwksIdentityProviderConfig.java b/core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/identity/jwks/JwksIdentityProviderConfig.java index 84a430f3364..ce768d99a41 100644 --- a/core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/identity/jwks/JwksIdentityProviderConfig.java +++ b/core/com.b2international.snowowl.core/src/com/b2international/snowowl/core/identity/jwks/JwksIdentityProviderConfig.java @@ -36,8 +36,8 @@ public class JwksIdentityProviderConfig implements IdentityProviderConfig { @NotEmpty private String jwksUrl; - private String emailClaimProperty; - private String permissionsClaimProperty; + private String emailClaimProperty = "sub"; + private String permissionsClaimProperty = "permissions"; public String getIssuer() { return issuer;