-
Notifications
You must be signed in to change notification settings - Fork 133
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
Bug: Bearer prefix on auth header (JWT Authenticator) #1038
Labels
bug
Something isn't working
Comments
Thank you for reporting. |
okay, this my pull request #1039 |
5 tasks
Thank you for the PR! |
Yes that good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHP Version
8.2.1
CodeIgniter4 Version
4.2.5
Shield Version
1.0.1
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MySQL
Did you customize Shield?
Yes, on JWT Authenticator is not same as JWT Filter on grab the token, JWT Filter was done with bearer prefix but in JWT Authenticator wasn't, please see my change below
What happened?
error malformed loggedIn method on JWT Authenticator because the method for grab the token isn't fixed with bearer prefix
Steps to Reproduce
add getTokenFromHeader method like JWT Filter in JWT Authenticator
Expected Output
easyly doing prefix or not on loggedin method with JWT Authenticator
Anything else?
nothing, just see my opinion and do update if it good
The text was updated successfully, but these errors were encountered: