Closed rtufisi closed 3 months ago
original extAuthDetails are null in ExtendedAdminEvent
logic here seems a bit wrong:
public ExtendedAdminEvent(String uid, AdminEvent event, RealmModel realm) { ..... setAuthDetails(event.getAuthDetails()); extAuthDetails.setRealmId(realm.getName()); .... }
we are basically overidding the realm of the original AuthDetails with the realm in which the event is triggered
@xgp please check the comment above. I'm not sure what functionalities are affected by that logic
@rtufisi I agree. We need to attempt to discover the auth realm, rather than use the event realm.
original extAuthDetails are null in ExtendedAdminEvent
logic here seems a bit wrong:
we are basically overidding the realm of the original AuthDetails with the realm in which the event is triggered