Hi all, I've been exploring use of Keycloak SSO with ADF recently, and have run into a roadblock. I'm running a number of configurations for testing purposes, including both a freshly generated (via Yeoman) basic ADF app, and also the current release of the example content app. While I've found that it's quite straightforward to get a Keycloak config working as per the published references, I'm finding that once I've logged on successfully through Keycloak and the ADF UI has been presented, from that point it will freeze noticeably on a periodic basis (around every 35 to 45 seconds?) as it refreshes authorisation with the Keycloak server. This freeze lasts for at least a couple of seconds. Also, in the case of the example content app, if I've already navigated down somewhere into the document folder structure, this location context is lost as the page refresh results in a return back up to the root level.
In the attached videos, the ADF Alfresco js api logic within oauth2Auth.js can be seen creating silent_refresh_token_iframe, after which the UI freeze occurs.
This is a problem I've already posted on the ADF Gitter feed, hence I'm looking for help here also. I'm new to the Alfresco world - perhaps this is something I should raise as a fault report?
Hi, someone already reported me this problem, I guess we need to investigate more could be a bug related to the refresh token mechanism has highlighted by your post. If you want you can also open a bug on the github repo
Thanks very much Eugenio - would really appreciate some progress. Prior to your response I had already created an issue in the Alfresco Jira - ALF-22030. Let me know if you think it would help to create it on Github also? (I'm happy to).