-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for OIDC public-key property #7750
Conversation
8511204
to
37ccd8b
Compare
Out of curiosity, what is the use case we are solving? Users that just want |
Hi @pedroigor Awhile back we touched on it with Stian and @stuartwdouglas as well, and it was only to support some simple |
Yeah, that is what I thought too so that smallrye-jwt could be an option to address the same use case (pure JWT bearer token authentication). In any case, if you still think this one should go in. I'm OK with it too. |
Hi @pedroigor thanks, I was wondering that may be it can be handy to, while already working with |
My use case is very simple, and I'm pretty sure many will have the same case. Of course, I can use the fake users/groups in dev and test - but that introduces quite some difference with the final behavior and it's a packaging dilemma (this unsafe extension is going to be in the classpath of the application). The OIDC extension defines this public key attribute, and it would make sense to honor it. It would enable:
Note: I use Jwtonizer to generate the token and the public key. |
@cescoffier Thanks, IMHO it is reasonable to have it supported then as switching to the alternative with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sberyozkin should this PR be backported to 1.3.0.Final? |
Hi @gastaldi, thanks for the approval. I'd be inclined to keep it to 1.4.0 as even though the existing OIDC code has not been changed, it has been moved around. @cescoffier, are you OK with it or would really prefer to have in |
I let @gsmet decides. It's really a developer experience feature (testing your app). |
@cescoffier, ok thanks, I'll merge to the master for now |
This is nearly funny, I press on a green |
Green merge button 1x0 @sberyozkin 😄 |
@gsmet, hi. I think something is wrong with my permissions, I can't even add a backport label for you to review it a backport candidate |
@gsmet looks like I can do something here again :-). So I've added a backport label. It would be good if @stuartwdouglas could also have a quick look but it may be too late by then... |
I don't understand. You say you don't want to backport it and then you add a backport label? |
@gsmet I thought having a label was a pre-requisite to be even considered for a backport. Indeed I had the reservations because I moved the code around (encapsulated it inside the functions so that it can be reused between the OIDC and no OIDC flows and even though it looks Ok on the eye it has not been stressed yet. Clement suggested that we should leave it to you to decide, hence I thought I should have the label. Sorry for a confusion if any. |
I think it's a bit too late for that kind of change. Let's leave it for 1.4 and if someone complains, we can consider backport it at some point. |
Hi folks
I think you have the wrong email address for your Stuart Douglas, so if you
could drop me from this chat, I'd be obliged:)
Best
(Another) Stuart Douglas
…On Thu, 12 Mar 2020 at 21:24, sberyozkin ***@***.***> wrote:
@gsmet <https://github.com/gsmet> I thought having a label was a
pre-requisite to be even considered for a backport. Indeed I had the
reservations because I moved the code around (encapsulated it inside the
functions so that it can be reused between the OIDC and no OIDC flows and
even though it looks Ok on the eye it has not been stressed yet. Clement
suggested that we should leave it to you to decide, hence I thought I
should have the label. Sorry for a confusion if any.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7750 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACEYFKKDD777C3XGKNUFTE3RHFHITANCNFSM4LFGECXA>
.
--
*Obverse Bookswww.obversebooks.co.uk <http://www.obversebooks.co.uk>BLACK
ARCHIVE: THE SILURIANS*
*SILVER ARCHIVE: STRANGER THINGS*
|
@StuartDouglas sorry, I think you probably have been mentioned at some point by mistake. That was apparently fixed as I don't find any mention of you now but GH still sends you the email so you should probably unsusbcribe yourself from the notifications (bottom of the left panel). Sorry about that! |
@gsmet, thanks and also another thanks for fixing the id of our Stuart @stuartwdouglas :-) |
Fixes #5828
CC @cescoffier