Skip to content

brokenAuthHeaderProviders mechanism insufficient for Salesforce  #166

Closed
@ohler

Description

@ohler

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions