diff --git a/.gitignore b/.gitignore
index e34bffd..ee2759b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,7 @@
# Maven #
#########
target
+
+# VSCode #
+##########
+.vscode
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 5dc8a41..756047c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
org.keycloak
keycloak-orcid
- 1.3.0
+ 1.3.1
${project.artifactId}
ORCID as Social Provider in Keycloak
@@ -11,7 +11,7 @@
17
17
- 22.0.3
+ 25.0.6
diff --git a/src/main/java/org/keycloak/social/orcid/OrcidIdentityProvider.java b/src/main/java/org/keycloak/social/orcid/OrcidIdentityProvider.java
index a429ffa..dd9aab5 100644
--- a/src/main/java/org/keycloak/social/orcid/OrcidIdentityProvider.java
+++ b/src/main/java/org/keycloak/social/orcid/OrcidIdentityProvider.java
@@ -43,7 +43,7 @@ protected BrokeredIdentityContext extractIdentityFromProfile(EventBuilder event,
String id = getJsonProperty(orcidIdentifier, "path");
- BrokeredIdentityContext user = new BrokeredIdentityContext(id);
+ BrokeredIdentityContext user = new BrokeredIdentityContext(id, getConfig());
user.setUsername(id);
JsonNode name = person.get("name");
if (name!= null && ! name.isNull()) {
@@ -65,7 +65,6 @@ protected BrokeredIdentityContext extractIdentityFromProfile(EventBuilder event,
}
user.setEmail(email);
- user.setIdpConfig(getConfig());
user.setIdp(this);
AbstractJsonUserAttributeMapper.storeUserProfileForMapper(user, node, getConfig().getAlias());