Skip to content

Conversation

@lalloni
Copy link
Contributor

@lalloni lalloni commented Aug 24, 2015

Remove "scope" & "client_id" from "token request" in the
"authorization code grant" flow, while keeping "client_id"
in case the provider is one of the known to be broken ones.

This PR fixes #145

Remove "scope" & "client_id" from "token request" in the
"authorization code grant" flow, while keeping "client_id"
in case the provider is one of the known to be broken ones.
@lalloni
Copy link
Contributor Author

lalloni commented Aug 24, 2015

I believe this PR also fixes #110

@adg
Copy link
Contributor

adg commented Aug 24, 2015

Hi, thanks for your contribution, but we don't use GitHub Pull Requests for code review.

Can you please follow the instructions in our contribution guidelines? Thanks.

@adg adg closed this Aug 24, 2015
@arvenil
Copy link

arvenil commented Jan 19, 2016

@adg @plalloni What happen to this PR? Was it re-submited?

@adg
Copy link
Contributor

adg commented Jan 19, 2016

@arvenil I don't think so.

@lalloni
Copy link
Contributor Author

lalloni commented Jan 20, 2016

@arvenil @adg At the time, I began the required process but couldn't finish it... then I had this into my pending stuff since then, mostly because I believed no one cared for it, and we're using my fixed branch anyway...

If there's interest I can try to give it another go.

@arvenil
Copy link

arvenil commented Jan 20, 2016

@plalloni I'm interested :)

@josephholsten
Copy link
Contributor

@plalloni need a hand to get this submitted?

@josephholsten
Copy link
Contributor

@plalloni ah, I forgot I can't submit for you. Have you completed the CLA?

@lalloni
Copy link
Contributor Author

lalloni commented Jun 4, 2016

Allright, finally I've submitted https://go-review.googlesource.com/#/c/23790/.

@lalloni
Copy link
Contributor Author

lalloni commented Jun 5, 2016

@josephholsten @arvenil @adg I've resubmitted this PR as http://golang.org/cl/23790/ as requested.
I hope I did everything right, but given it's been 2 days already and I've seen no response, I'm afraid I might have done something wrong.
So please if you see anything to be fixed just tell me and I'll try to do it.

@drewwells
Copy link

@plalloni I think @josephholsten is referring to the google CLA, you need to sign this to submit code https://cla.developers.google.com/clas

@lalloni
Copy link
Contributor Author

lalloni commented Jul 5, 2016

@drewwells @josephholsten, I did sign the CLA, almost a year ago.
@adg could you please take a look at http://golang.org/cl/23790/?

cwarden added a commit to cwarden/grafana that referenced this pull request Dec 7, 2016
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAM OAuth2 provider always reject Exchange requests

5 participants