Skip to content

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Oct 25, 2023

Fixes #2386 due to https://stackoverflow.com/questions/66210139/why-my-valid-ms-access-token-cant-be-parsed-with-jwt-ms.

Changes proposed in this pull request

  • Updates code to ensure we only decode JWT access tokens. Non-JWT tokens won't be decoded as they don't conform to https://tools.ietf.org/html/rfc7519.
  • Adds unit tests to validate access token decoding.

@peombwa peombwa requested a review from a team as a code owner October 25, 2023 23:07
MIchaelMainer
MIchaelMainer previously approved these changes Oct 25, 2023
@peombwa peombwa merged commit 0fceedb into dev Oct 30, 2023
@peombwa peombwa deleted the bugfixes/PersonalAccountAuth branch October 30, 2023 15:29
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.

Invalid JWT access token

3 participants