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

Added Bearer authorization header for the JWTValidateMiddleware #3

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

200-0K
Copy link
Contributor

@200-0K 200-0K commented Dec 23, 2023

No description provided.

@200-0K 200-0K changed the title Added Bearer for the JWTValidateMiddleware Added Bearer authorization header for the JWTValidateMiddleware Dec 23, 2023
@jszobody
Copy link
Member

Hey thanks for this. Strange, I could have sworn it was already looking for a Bearer. It's even listed in the README. Huh, maybe that got inadvertently removed in a previous refactor.

Can you add a quick test for this? Something similar to...

https://github.com/stechstudio/laravel-jwt/blob/master/tests/MiddlewareTest.php#L70

@200-0K
Copy link
Contributor Author

200-0K commented Dec 24, 2023

Done! I haven't run the tests but i think this looks good

@jszobody jszobody merged commit b725930 into stechstudio:master Jan 8, 2024
@jszobody
Copy link
Member

jszobody commented Jan 8, 2024

Thanks. v2.2 is tagged and available.

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.

2 participants