[go: up one dir, main page]

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

Get REST API JWT From Authorization Bearer #6611

Merged
merged 5 commits into from
Sep 30, 2024
Merged

Get REST API JWT From Authorization Bearer #6611

merged 5 commits into from
Sep 30, 2024

Conversation

lastpeony
Copy link
Contributor

@lastpeony lastpeony changed the title Get API JWT From Authorization Bearer Get REST API JWT From Authorization Bearer Aug 23, 2024
Copy link
sonarcloud bot commented Aug 26, 2024

Copy link
Contributor
@mekya mekya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lastpeony ,

Thank you for the development.

I need you to change the code.

  • There is one header at a time. "Authorizaiton" or "Bearer"
  • It should be backward compatible to parse the "Authorization" header
  • If there is no "Authorization", it'll check the "Bearer" header or vice-versa

Cheers
Oguz

Copy link
Contributor
@mekya mekya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok to merge. I remember somethings wrong. It's my mistake

@mekya mekya merged commit 25fe09a into master Sep 30, 2024
9 checks passed
@mekya mekya deleted the restJwtBearer branch September 30, 2024 09:44
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.

3 participants