We’re relying (until migration to Forge completes) on the Atlassian Spring Connect for the Forge Remote implementation.
Our app also supported anonymous Confluence users. It behaved slightly different when detected a anonymous user. We checked if AtlassianHostUser.getUserAccountId().isEmpty() to do so.
When you move the endpoint to a Forge Remote, the `AtlassianHostUser`is set as before. HOWEVER: the AtlassianHostUser.getUserAccountId() is then set for anonymous users. It is set to unidentified for anonymous users.
This means, our existing code missed the anonymous users and assumed they are logged in.