auth0 / express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Spot Mixed symmetric and asymmetric algorithms

mrthankyou opened this issue · comments

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.

Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Description

If I'm code-reviewing an application that utilizes your express plugin how would I spot code cases where the developer mixed symmetric and asymmetric (ie HS256/RS256) algorithms?

Thanks for your help!

Reproduction

N/A

Environment

N/A