Using an API key alongside JWT authentication

Posted 2 months ago by hanzanati

Using JWT in our API that services a mobile app, where users login, system retrieves the JWT token and stores in App for future requests for that user.

However, we would also like to add an API key in addition to this JWT token call so we only service requests coming from a valid key.

What is the recommended approach/library/package to use alongside the JWT middleware?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.