Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant