-
Notifications
You must be signed in to change notification settings - Fork 54
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
ExAuth Plugin EM is Unable to extract Client ID from JWT #169
Comments
Looks like this plugin is not adding client_id to x-api-key header because of false check In line 127 and 165, checking for not sendErr. But sendErr is defaulted to true, which makes this check to False. But we need it as true Could you please fix this. as x-api-key is not being passed to oauth plugin and causing issues Actual :
Expected:
Pull request #172 |
Fixed as part of #208 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The plugin notes stated that EM will extract the client_id from the JWT.
Sample Log :
2019-12-11T22:00:50.582Z plugin:extauth Found JWK
2019-12-11T22:00:50.590Z plugin:extauth JWT Expiry enabled
2019-12-11T22:00:50.631Z plugin:extauth JWT is valid
2019-12-11T22:00:50.632Z plugin:oauth missing_authorization
2019-12-11T22:00:50.632Z plugin:oauth auth failure 401 missing_authorization Missing Authorization header { 'user-agent': 'PostmanRuntime/7.19.0',
The text was updated successfully, but these errors were encountered: