adonisjs / auth

Official Authentication package for AdonisJS
https://docs.adonisjs.com/guides/auth/introduction
MIT License
192 stars 65 forks source link

Added public key support in JWT authentication scheme #138

Closed techlab23 closed 4 years ago

techlab23 commented 4 years ago

Proposed changes

This change set allows developers to provide public key through options in JWT authentication scheme and it also allows JWT verification via public key as well. This pull request resolves the following issues
Issue-122 Issue-130

Types of changes

What types of changes does your code introduce?

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.04%) to 88.998% when pulling d2b99a9b757bf17045ea4b7a6e7f15ab4edcd24a on voore:add-public-key-support into 404a7baab268b172a46eac886bf8a4c8287f2dbd on adonisjs:develop.