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

More issues with oauth2.jwt_decode #71

Open
daleif opened this issue Feb 9, 2023 · 0 comments
Open

More issues with oauth2.jwt_decode #71

daleif opened this issue Feb 9, 2023 · 0 comments

Comments

@daleif
Copy link
Contributor

daleif commented Feb 9, 2023

As far as I can see the possible callback (last arg) for jwt_decode will never be executed. That is in a call like

c->oauth2->jwt_decode($provider, data => $provider_res->{id_token}, sub { ....} );

the peek method at the end will never be correctly passed on to $jwt->decode($args->{data}, $peek); because of how _call collects arguments before passing it to _jwt_decode.

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