oauth2 icon indicating copy to clipboard operation
oauth2 copied to clipboard

Add support rfc7523 private_key_jwt in client credentials flow

Open SmotrovaLilit opened this issue 4 years ago • 44 comments

Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523 See https://openid.net/specs/openid-connect-core-1_0.html

Fixes #433

SmotrovaLilit avatar Oct 25 '20 21:10 SmotrovaLilit

This PR (HEAD: 56f9a0b193941953aa9f18c6141592a48125fdef) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/264959 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Oct 25 '20 22:10 gopherbot

Message from Go Bot:

Patch Set 1:

Congratulations on opening your first change. Thank you for your contribution!

Next steps: A maintainer will review your change and provide feedback. See https://golang.org/doc/contribute.html#review for more info and tips to get your patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be surprising to people new to the project. The careful, iterative review process is our way of helping mentor contributors and ensuring that their contributions have a lasting impact.


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Oct 25 '20 22:10 gopherbot

This PR (HEAD: d4025d6f4c12a082592a41be5feeb6f3d21e6e85) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/264959 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Oct 25 '20 22:10 gopherbot

@SmotrovaLilit thanks for adding this much needed feature. Any progress on getting this merged? I don't notice any code review on the Gerrit link yet...

gbolo avatar Jan 18 '21 04:01 gbolo

Hello. Nobody has started the code review yet. Could I do something to push forward the code review? Either should I wait for some time?

SmotrovaLilit avatar Jan 19 '21 20:01 SmotrovaLilit

If there's anything I can do to push forward the code review process I'll do that immediately. This is something that I was looking for! @SmotrovaLilit thanks for taking an initiative to proceed with adding this feature.

pawelaugustyn avatar Mar 08 '21 15:03 pawelaugustyn

Hello @adg @rakyll @bradfitz , I am mentioning you as I can see you as one of the most active contributors. Could you advice us what we can do to have it reviewed and merged? We are really looking forward for this feature!

dudududi avatar Apr 21 '21 12:04 dudududi

AFAIK there are no active maintainers of this repository at the moment. Maybe @Sajmani knows?

adg avatar Apr 21 '21 22:04 adg

@dudududi maybe just the wrong people... @codyoss @ScruffyProdigy can you help to get this merged/reviewed?

diefans avatar May 18 '21 10:05 diefans

Message from Kamil Dudek:

Patch Set 2: Code-Review+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar May 26 '21 07:05 gopherbot

Message from Heschi Kreinick:

Patch Set 2:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar May 26 '21 17:05 gopherbot

Hi ! Seems like the code is ready, just need a code review or merge from @codyoss @ScruffyProdigy ? Thanks.

sheen4n avatar May 28 '21 04:05 sheen4n

I will try to take a look at this later this week. I need to go over the RFC.

codyoss avatar Jun 01 '21 14:06 codyoss

I will try to take a look at this later this week. I need to go over the RFC.

Hi cody, may I check how was it on your end? thank you very much.

sheen4n avatar Jun 25 '21 04:06 sheen4n

Any movement on this yet?

CVMarkBradley avatar Jul 05 '21 09:07 CVMarkBradley

@codyoss Is there anything somebody can do to accelerate the review process?

diefans avatar Jul 23 '21 07:07 diefans

Seems like the code is ready, @codyoss do you mind reviewing? thank you so much.

sheen4n avatar Aug 03 '21 08:08 sheen4n

The impression is sneaking into my mind, that either

  • [ ] google is not interested in opensource or
  • [ ] people at google have negative incentives in spending some extra time outside their regular work or
  • [ ] this PR is crap, but nobody is able to communicate the flaws

diefans avatar Sep 10 '21 09:09 diefans

Message from Kyle Lemons:

Patch Set 2:

(21 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Sep 10 '21 16:09 gopherbot

first: thanks to Kyle Lemons second: to all you thumb down people: this was my personal impression I honestly reflected and obviously the third point was somehow true - so what's your problem? People were asking over and over in a polite way how they can help and earned ignorance (from all of you) - now that I came up with an insight to the real point - you don't like it?

diefans avatar Sep 10 '21 16:09 diefans

Hey all, I would still like to help take a look at this sometime in the near future(most likely start Oct). It had fallen off my radar and other priorities have needed to take precedence. I generally work just in within the google subdir for this repo but would like to try to help get these changes moving. I still need to make some time to look over the RFC. Thank you for your patience.

codyoss avatar Sep 10 '21 17:09 codyoss

@diefans

  1. These thumbs down are likely from people from Reddit there, who learned that you was "very rude" and decided to punish you (without proper reading) because blind downvoting is something Reddit people are good at.
  2. Your wording is indeed prone to misunderstanding. I see you are assuming that this PR is crap, but people read only "this PR is crap" and lose the context. Though even assuming that PR is bad is not polite in this wording.

greatvovan avatar Sep 11 '21 03:09 greatvovan

Message from Kyle Lemons:

Patch Set 2:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Sep 11 '21 05:09 gopherbot

@greatvovan ... it might be, that I was overemphasizing (e.g. "crap") and I apologize - but nevertheless, it brought some kind of progression... ;)

diefans avatar Sep 11 '21 07:09 diefans

Message from Dmitriy Smotrov:

Patch Set 2:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Sep 11 '21 19:09 gopherbot

@diefans

  1. These thumbs down are likely from people from Reddit there, who learned that you was "very rude" and decided to punish you (without proper reading) because blind downvoting is something Reddit people are good at.
  2. Your wording is indeed prone to misunderstanding. I see you are assuming that this PR is crap, but people read only "this PR is crap" and lose the context. Though even assuming that PR is bad is not polite in this wording.

Please do not assume my intentions. You have no idea why I thumbs down'd the comment, and you are not in a position to speculate. You also have no evidence that I haven't properly read a comment, nor that I have managed to forget its context in the time it took me to reach for the button.

Perhaps I can correct your misunderstanding.

google is not interested in opensource or

This is a strawman - google is one of if not the biggest corporate contributors to open source in the world. The way this reads is "oh yeah, leap that wall if you're so strong, bet you can't".

people at google have negative incentives in spending some extra time outside their regular work or

This is also a strawman. @diefans has no apparent knowledge of the inner workings of google, and again, this reads as being intentionally incorrect so as to rouse a response.

this PR is crap, but nobody is able to communicate the flaws

And yet more along the same lines, "or maybe the PR is crap" is posed in a seemingly ironic manner, followed by yet another strawman - google is not google for no reason. If there are only a few companies in the world with an employee that can communicate the flaws in a PR, one of those companies will be google. It seems like it's just trying to get a rise.

All in all, @diefans' comment is incredibly childish, and serves absolutely no purpose on the PR. It doesn't further discussion in any way, either by @'ing relevant people who haven't seen an update, nor by "communicating flaws". Its tone in fact brings the rest of the PR down by association. It's an embarrassment. It is one of the worst comments I've seen on a PR in recent memory, and I read a lot of PRs in dumb projects. If I had the privelege, I would have deleted it. That's why I thumbs down'd it.

Asday avatar Sep 12 '21 15:09 Asday

@Asday (and this is my last comment, sorry) after 11 months of desperate begging for something, I decided (also in face of my actual project deliverables, constraints and pressures, etc.) to stop that pray.

Fact is: this PR (and all its advocates) were starved to death since the beginning. I would be surprised, if @SmotrovaLilit is still invested.

Here is a review of your post, which smells (after more than thirty years working with logic) quite inconsistent...

and serves absolutely no purpose on the PR

The purpose was to move it in an inconvenient way

It doesn't further discussion in any way, either by @'ing relevant people who haven't seen an update

I was looking up people with recent commits and involved them

nor by "communicating flaws"

hmmm.. I was asking to provide further information

You also have no evidence that I haven't properly read a comment

which is proven now by yourself

@diefans has no apparent knowledge of the inner workings of google

...a friend was telling me something about this (why would such crazy things come up in my mind?)

google is one of if not the biggest corporate contributors to open source in the world

I know this, that's why these 11 months of "silence" are so ridiculous and unaccountable to me

If there are only a few companies in the world with an employee that can communicate the flaws in a PR, one of those companies will be google.

But it hasn't ... what "unable" means

Its tone

the only "tone" in my comment rests in the word "crap", where everybody, connecting the dots (since I am begging for that "crap" and would buy it even as it is) must see that I am exaggerating.

Isn't your tone worse - I mean you throwing around the same stuff, you accuse somebody else of:

"You have no idea ... ", "you are not in a position ...", "I can correct your ...", "has no apparent knowledge...", "incredibly", "childish", "absolutely", "worst", "dumb"

I think you should apply your own rule to yourself, namely:

If I had the privelege, I would have deleted it.

So I close this "Pandora's box" by quoting your own site:

Right to be Offensive It follows that every individual has an obligation to be responsible for their own feelings. Expecting everyone around you to coddle you and protect your feelings is an expectation you should have grown out of before leaving school.

diefans avatar Sep 12 '21 20:09 diefans

May I please remind everyone here to be respectful make sure discussion is in line with our code of conduct Code of Conduct. Let's also try to keep discussion on topic of the PR itself. Thanks.

codyoss avatar Sep 12 '21 21:09 codyoss

This PR (HEAD: 267a86fed2bdcdf791b954239c0c2601d46cfc6c) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/oauth2/+/264959 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Oct 20 '21 17:10 gopherbot

Message from Lilit Smotrova:

Patch Set 3:

(18 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264959. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Oct 20 '21 18:10 gopherbot