Skip to content
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

server/auth: fix panic when a malformed jwt with missing required cl… #15002

Closed

Conversation

adelowo
Copy link
Contributor

@adelowo adelowo commented Dec 16, 2022

Fixes #14931

…ims is encountered

Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
@ahrtr
Copy link
Member

ahrtr commented Dec 16, 2022

Thank you. Could you add a couple of unit test cases?

@ahrtr
Copy link
Member

ahrtr commented Jan 15, 2023

@adelowo any update?

@adelowo
Copy link
Contributor Author

adelowo commented Jan 15, 2023

Hi @ahrtr apologies. Just got back from the holidays. I’d resolve this over the next day

@ahrtr
Copy link
Member

ahrtr commented Mar 31, 2023

@adelowo any update on this PR?

@ahrtr
Copy link
Member

ahrtr commented Apr 4, 2023

Since there is no response from the original author, please anyone feel free to resurrect this PR (e.g. fork a new branch on top this one, and then add unit test).

@ArkaSaha30
Copy link
Contributor

ArkaSaha30 commented Apr 4, 2023

Hello @ahrtr, I can take it up
/assign

@ahrtr
Copy link
Member

ahrtr commented Apr 4, 2023

Thanks @ArkaSaha30 . Please

  1. fork a new branch on top of this branch, so that @adelowo is still the author of the first commit.
  2. rebase the branch;
  3. add a unit test in second commit.

@ArkaSaha30
Copy link
Contributor

Sure @ahrtr , I will create a fresh PR with this as the first commit.

@ArkaSaha30
Copy link
Contributor

New PR ref:#15639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Generating identitcal JWT token and authenticating results in server go panic
4 participants