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

Route in ignore if it has the authorization header is it decoded? #224

Open
rlzdesenv opened this issue Jul 20, 2022 · 0 comments
Open

Route in ignore if it has the authorization header is it decoded? #224

rlzdesenv opened this issue Jul 20, 2022 · 0 comments

Comments

@rlzdesenv
Copy link

When I have a route added to the

"ignore" => ["/api/token", "/admin/ping"]

and I send a header with token is it processed by the method in the before and done the decoder?

"before" => function ($request, $arguments) {
         $jwt = (object)$arguments["decoded"];
 }

in a local environment it decodes, more in a remote environment with https apparently not!

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

No branches or pull requests

1 participant