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-122Issue-130
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply
[ ] Bugfix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
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.
[x ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)
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...
Coverage increased (+0.04%) to 88.998% when pulling d2b99a9b757bf17045ea4b7a6e7f15ab4edcd24a on voore:add-public-key-support into 404a7baab268b172a46eac886bf8a4c8287f2dbd on adonisjs:develop.
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 applyChecklist
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...