The Forge macro in Confluence seems to always need a manual refresh of the page by the user. However, there is no hint to the user that they have to do it.
This is what happens:
The ‘Allow Access’ authorization dialog is show. Everything is ok:
When the user clicks it, a new tab is opened with the authorization.
The user accepts the app. The Authorization tab closes.
The original confluence page is shown. It now displays an error!
Only after refreshing the page, the macro starts working:
So, the question is, what are we doing wrong? The app authorization seems to be handled completely by forge and we can’t improve it.
We want either to refresh the page somehow automatically after the App authorization, or at least show a text explaining to the user that they need to refresh the page.