Problem/Motivation
The help text explaining how to authenticate this module with Salesforce makes some assumptions which are not always valid. Namely that:
- Clean URLs is enabled
- Drupal "lives" in the root of the web server
The attached patch was originally included with another issue as a suggested workaround. I'm adding it here so that it can be separated from the other questions in that issue.
Proposed resolution
The attached patch uses the drupal url() function to generate the callback URL in the help text. As this is the same code that generates the actual callback URL in the authentication code, it should guarantee that the two always match.
Remaining tasks
Roll the patch
- Review the patch
- Apply it to GIT
User interface changes
The help text will remain in sync with the actual callback URL
API changes
None
Comments
Comment #2
gcbWell that seems like a good idea. Patch committed, thanks!