Using SSO with GIT causes the Designer to sync before it's logged into the Clover Server and subsequent conflicts
Assignee

Reporter

Labels
Sprint
None
Description
Steps to reproduce
Create Server project on Server with SSO (e.g. virt-alpha:8087)
Enable "Refresh using native hooks and polling" in Designer settings (General->Workspace)
Create some file in Sandbox
Connect to the server, make some change in Designer in this file
Open a web browser in Designer and logout from the server (this will make session token invalid in Designer secure storage)
Make some change in the created file with another editor (NO in Designer)
Error is reported - HttpException
If you close the error window and login dialog and make a change in Designer you will get different exception - InvalidSessionException
Activity
Show:
Fixed
Details
Details
Story Points
3
Priority
Fix versions
Zendesk ticket
#209543
Branch
QA Testing
GUI manual test
Components
Created October 23, 2020 at 11:30 AM
Updated September 12, 2023 at 8:45 AM
Resolved October 26, 2020 at 7:45 AM
My team recently switched over to using SAML-based authentication so we could use our company's single-signon system (Okta) to log into our development CloverDX server (version 5.5.0.21, same as our CloverDX Designer version). Each morning after we VPN to our company's intranet and start work on CloverDX Designer, we get a stack of Server De-sync errors when it attempts to refresh our developer sandbox; CloverDX Designer then brings up a browser window to refresh its connection to the server via SSO, after which that browser window goes away. We then need to hold down the Esc key to clear away all the Server De-sync error dialogs, then refresh the sandbox again and clean up any lingering changes there that might have been applied by the desynchronization; we use git for source control so this usually involves undoing all the changes to bring it back to a clean slate.
Is there a way to avoid having these De-sync errors pop up? It appears that this is related to our SSO sessions expiring on a daily basis, and that Designer is able to re-establish a connection and a new session, but for whatever reason that only happens after it gets confused about the files that it was not able to synchronize. Occasionally issue happens in the middle of the day as well, but I have not been able to identify the circumstances under which that might occur.