-
Notifications
You must be signed in to change notification settings - Fork 1k
jwt: support PrivateClaims in Config #374
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
Conversation
|
This PR (HEAD: 8baca54) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
Message from Brad Fitzpatrick: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
This PR (HEAD: 339f364) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: b33c8d1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
Message from Wenlei He: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Any luck here? Thanks! |
|
Message from Brad Fitzpatrick: Patch Set 4: (4 comments) Sorry, I don't know much about this subject matter. I can only review documentation & tests. Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Brad Fitzpatrick: Patch Set 4: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Gobot Gobot: Patch Set 4: TryBots beginning. Status page: https://farmer.golang.org/try?commit=e49cf9ad Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Gobot Gobot: Patch Set 4: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
This PR (HEAD: a5a809a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
PR updated. |
|
@wlhee any luck with this PR? Thanks |
|
I will ping the review again... It's been too long :(
…On Wed, May 15, 2019 at 11:34 AM Marwan Sulaiman ***@***.***> wrote:
@wlhee <https://github.com/wlhee> any luck with this PR? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#374?email_source=notifications&email_token=ABGGYABX4UOXGELLZTXD4CLPVRJSDA5CNFSM4G4TIMA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPRZCY#issuecomment-492772491>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGGYAC5PZGFXNHGG3OPPGDPVRJSDANCNFSM4G4TIMAQ>
.
|
|
Message from Brad Fitzpatrick: Patch Set 5: Code-Review+1 (4 comments) I'll trust you on the subject matter, so this is fine after I you fix up this last round on the docs. Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
…ken. Updated comments.
|
This PR (HEAD: ac8ecd8) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
This PR (HEAD: 7a6e247) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/oauth2/+/166220 to see it. Tip: You can toggle comments from me using the |
|
Message from Wenlei He: Patch Set 7: (4 comments)
Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Brad Fitzpatrick: Patch Set 7: Run-TryBot+1 Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Gobot Gobot: Patch Set 7: TryBots beginning. Status page: https://farmer.golang.org/try?commit=329f336d Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
|
Message from Gobot Gobot: Patch Set 7: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/166220. |
This would help add extra claim for certain 2-leg JWT exchange. For example, Google service account key can be used to generate an OIDC token, but Google TokenURL requires "target_audience" claims set. See this example usage: https://gist.github.com/wlhee/64bc518190053e2122ca1909c2977c67#file-exmaple-go-L29 Change-Id: Ic10b006e45a34210634c5a76261a7e3706066965 GitHub-Last-Rev: 7a6e247 GitHub-Pull-Request: #374 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/166220 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
|
This PR is being closed because golang.org/cl/166220 has been merged. |
This would help add extra claim for certain 2-leg JWT exchange.
For example, Google service account key can be used to generate an OIDC token, but Google TokenURL requires "target_audience" claims set.
See this example usage:
https://gist.github.com/wlhee/64bc518190053e2122ca1909c2977c67#file-exmaple-go-L29