From c76739affd17b43a2618c667d4c3010d5918e4f5 Mon Sep 17 00:00:00 2001 From: Daniel DeGroff Date: Thu, 4 Sep 2025 08:50:28 -0600 Subject: [PATCH 1/4] domain build --- src/main/java/io/fusionauth/domain/oauth2/OAuthError.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/fusionauth/domain/oauth2/OAuthError.java b/src/main/java/io/fusionauth/domain/oauth2/OAuthError.java index 94f7e25d..c54cd105 100644 --- a/src/main/java/io/fusionauth/domain/oauth2/OAuthError.java +++ b/src/main/java/io/fusionauth/domain/oauth2/OAuthError.java @@ -77,7 +77,10 @@ public enum OAuthErrorReason { access_token_required, refresh_token_not_found, - refresh_token_type_not_supported, + refresh_token_type_not_supported, // Deprecated + id_token_invalid, + unsupported_token_type, + token_type_hint_mismatch, // Invalid request parameters invalid_client_id, From 9548e26ead3379655584a764c5e91a2a2c4084c2 Mon Sep 17 00:00:00 2001 From: Daniel DeGroff Date: Mon, 8 Sep 2025 04:48:13 -0600 Subject: [PATCH 2/4] domain sync --- src/main/java/io/fusionauth/domain/oauth2/GrantType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/fusionauth/domain/oauth2/GrantType.java b/src/main/java/io/fusionauth/domain/oauth2/GrantType.java index a7ef85f1..6e14e747 100644 --- a/src/main/java/io/fusionauth/domain/oauth2/GrantType.java +++ b/src/main/java/io/fusionauth/domain/oauth2/GrantType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019, FusionAuth, All Rights Reserved + * Copyright (c) 2018-2025, FusionAuth, All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Authorization Grant types as defined by the The OAuth 2.0 Authorization + * Authorization Grant types as defined by the OAuth 2.0 Authorization * Framework - RFC 6749. *

* Specific names as defined by From 9d7068b4e9374388adc2078153a2cdbe919be61e Mon Sep 17 00:00:00 2001 From: Daniel DeGroff Date: Mon, 8 Sep 2025 11:17:38 -0600 Subject: [PATCH 3/4] Domain sync --- .../java/io/fusionauth/domain/GroupMember.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/main/java/io/fusionauth/domain/GroupMember.java b/src/main/java/io/fusionauth/domain/GroupMember.java index d2349869..d7a10ae5 100644 --- a/src/main/java/io/fusionauth/domain/GroupMember.java +++ b/src/main/java/io/fusionauth/domain/GroupMember.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2024, FusionAuth, All Rights Reserved + * Copyright (c) 2018-2025, FusionAuth, All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,12 +38,6 @@ public class GroupMember implements Buildable { public ZonedDateTime insertInstant; - /** - * Deprecated since 1.52.0 (Aug 2024). Planned removal by end of 2024 - */ - @Deprecated - public User user; - public UUID userId; @JacksonConstructor @@ -56,7 +50,6 @@ public GroupMember(GroupMember member) { this.id = member.id; this.insertInstant = member.insertInstant; this.userId = member.userId; - this.user = member.user == null ? null : new User(member.user); } @Override @@ -72,13 +65,12 @@ public boolean equals(Object o) { Objects.equals(groupId, that.groupId) && Objects.equals(id, that.id) && Objects.equals(insertInstant, that.insertInstant) && - Objects.equals(userId, that.userId) && - Objects.equals(user, that.user); + Objects.equals(userId, that.userId); } @Override public int hashCode() { - return Objects.hash(data, groupId, id, insertInstant, userId, user); + return Objects.hash(data, groupId, id, insertInstant, userId); } @Override From 424806589d000cd4716354c575fc3e88d5f158da Mon Sep 17 00:00:00 2001 From: Daniel DeGroff Date: Wed, 10 Sep 2025 16:50:28 -0600 Subject: [PATCH 4/4] domain sync / client builder --- src/main/java/io/fusionauth/domain/event/EventType.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/fusionauth/domain/event/EventType.java b/src/main/java/io/fusionauth/domain/event/EventType.java index c40c411c..def501f3 100644 --- a/src/main/java/io/fusionauth/domain/event/EventType.java +++ b/src/main/java/io/fusionauth/domain/event/EventType.java @@ -15,6 +15,7 @@ */ package io.fusionauth.domain.event; +import java.lang.reflect.Constructor; import java.util.Arrays; import java.util.HashMap; import java.util.List; @@ -223,7 +224,9 @@ public String eventName() { public boolean isInstanceEvent() { try { - return Class.forName(getClass().getPackage().getName() + "." + name() + "Event").getConstructor().newInstance() instanceof InstanceEvent; + Constructor ctor = Class.forName(getClass().getPackage().getName() + "." + name() + "Event").getDeclaredConstructor(); + ctor.setAccessible(true); + return ctor.newInstance() instanceof InstanceEvent; } catch (Exception ignore) { } @@ -232,7 +235,9 @@ public boolean isInstanceEvent() { public boolean isTransactionalEvent() { try { - return !(Class.forName(getClass().getPackage().getName() + "." + name() + "Event").getConstructor().newInstance() instanceof NonTransactionalEvent); + Constructor ctor = Class.forName(getClass().getPackage().getName() + "." + name() + "Event").getDeclaredConstructor(); + ctor.setAccessible(true); + return !(ctor.newInstance() instanceof NonTransactionalEvent); } catch (Exception ignore) { }