I have turned on identity connect in production and turned off the ability for people to log in through any other means other than identity connect.
On refreshing my sandbox, I cannot login into my account.
Also, when trying the same using API, getting the error:
OLE DB provider "DBAmp.DBAmp" for linked server "SALESFORCE_TESTBOX" returned message "Error 1 : INVALID_SSO_GATEWAY_URL: the single sign on gateway url for the org is invalid".
I am using the similar login credentials to sandbox that I was using before refresh. Custom domain and Identity connect are not enabled in Sandbox.
I am really stuck here.
Any help on this will be appreciated!