[OPENIDM-15315] Changing the contextURL in IDM does not update request being sent to SalesForce Created: 24/Aug/20  Updated: 26/Oct/20  Resolved: 26/Oct/20

Status: Closed
Project: OpenIDM
Component/s: Module - Web UI
Affects Version/s:,
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jesse Ontiveros Assignee: Jason Browne [X] (Inactive)
Resolution: Duplicate Votes: 0
Labels: Customer, UI
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Customer enviroment

Issue Links:
duplicates OPENIDM-15584 Using SalesForce connector and changi... Closed
is related to OPENIDM-15223 Base Connector Details not changing w... Resolved
Target Version/s:
Zendesk ID: 52325


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.host  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.


Generated at Sun May 09 08:01:23 UTC 2021 using Jira 8.16.0#816000-sha1:a455b91378454416b49bbc88d03e653cb9815ed5.