Skip to content

Commit

Permalink
Salesforce OAuth Work-Arounds
Browse files Browse the repository at this point in the history
Work-arounds for using Salesforce as an OAuth identity provider.

Do not send scope when exchanging authorization code for access token;
Salesforce doesn't allow it.

Include standard Salesforce endpoints in list of broken providers which
require client_secret be sent when getting access token.

See upstream issues:
golang/oauth2#166
golang/oauth2#146
  • Loading branch information
cwarden committed Dec 7, 2016
1 parent f7dced3 commit 8a284ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vendor/golang.org/x/oauth2/oauth2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a284ce

Please sign in to comment.