Skip to content
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

CLI options for verifying audience and issuer #496

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

GeoffRichards
Copy link
Contributor

Currently the pyjwt command can't verify a token that has an 'aud' included. Added the --audience option to specify an acceptable audience, and allow it multiple times.

While I'm at it, added --issuer option as well.

@coveralls
Copy link

coveralls commented Jun 15, 2020

Pull Request Test Coverage Report for Build 221

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 220: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test for this?

@vimalloc-mavenlink
Copy link

CLI support is targeted to be dropped in the 2.0.0 release: #470

Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@auvipy auvipy merged commit 5de3023 into jpadilla:master Jun 16, 2020
@jpadilla jpadilla added this to the v2.0.0 milestone Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants