Steps to recreate:
1) Change contextURL in ui.context-admin.json to /abc/admin
2) Restart and verify the changes went through in IDM
3). go to create a new connector and select Salesforce
4) the contextURL change will not be picked up by SalesForce connector view UI
5) You have to make the following change to SalesforceTypeView.js
go to path to openidm/ui/admin/default/org/forgerock/openidm/ui/admin/connector/oauth
change the callbackURL to this:
"callbackURL" : window.location.protocol+"//" window.location.pathname + "oauth.html"
Restart IDM and the callbackURL will now show http://localhost:8080/abc/admin/oauth.html
The problem now is that even with this change, when we make a call to Salesforce the callbackURL is not being passed. We see this(URLs have been changed to hide private info):
instead of this:
Spoke to the ICF team and it was stated that OAuth needs to be directed where specified. The connector doesn't do anything specific to that.