Skip to content

Conversation

@vimalloc
Copy link
Owner

Previously we allowed identity to be any data that was JSON
serializable, however it turns out that is in violation of the JWT spec,
which requires sub to be a string. The underlying library that we are
using to manage the JWTs (PyJWT) released a new version that is
enforcing this behavior, where it didn't before.

Because sub should be a string per the spec, I've opted to keep that
change in this extension, and update the documentation to match this new
behavior.

@vimalloc vimalloc self-assigned this Nov 18, 2024
Previously we allowed identity to be any data that was JSON
serializable, however it turns out that is in violation of the JWT spec,
which requires `sub` to be a string. The underlying library that we are
using to manage the JWTs (PyJWT) released a new version that is
enforcing this behavior, where it didn't before.

Because `sub` should be a string per the spec, I've opted to keep that
change in this extension, and update the documentation to match this new
behavior.
@vimalloc vimalloc force-pushed the fix_identity_as_string_documentation branch from e422873 to 6957355 Compare November 18, 2024 17:22
@vimalloc vimalloc marked this pull request as ready for review November 18, 2024 17:24
@vimalloc
Copy link
Owner Author

Refs #557, #556

@vimalloc vimalloc merged commit f57ca90 into master Nov 18, 2024
28 checks passed
@vimalloc vimalloc deleted the fix_identity_as_string_documentation branch November 18, 2024 17:25
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.

2 participants