Closed
Description
Turns out that URLs of the form https://*.force.com/
and https://*.*.force.com/
can also host Salesforce OAuth provider endpoints, and they require the brokenAuthHeaderProviders workaround. See http://resources.docs.salesforce.com/198/13/en-us/sfdc/pdf/salesforce_communities_implementation.pdf at the top of page 108.
It would be convenient if I could call RegisterBrokenAuthHeaderProvider
with additional URLs as I encounter them at runtime, but it expects to be called from init() (does no locking).
Allowing me to set a flag on oauth2.Config that tells oauth2 to use the workaround would be a much more straightforward solution, though.
Metadata
Metadata
Assignees
Labels
No labels