Skip to content

Type decoded JWT payloads as JSON - #3601

Merged
adamtheturtle merged 1 commit into
mainfrom
type-jwt-json-payload
Sep 10, 2026
Merged

Type decoded JWT payloads as JSON#3601
adamtheturtle merged 1 commit into
mainfrom
type-jwt-json-payload

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Summary

  • validate decoded JWT payloads with the existing recursive JSON-object guard
  • return a string-keyed JSON mapping instead of an unchecked Mapping[object, object]
  • remove the redundant generic mapping guard and the object annotation on the scope value

Validation

  • uv run --group=dev prek run --all-files --hook-stage pre-commit --no-fail-fast
  • uv run --group=dev prek run --all-files --hook-stage pre-push --no-fail-fast
  • uv run --group=dev pytest -q tests/mock_vws/test_model_target_web_api.py::TestMockOnlyOAuth2EdgeCases (9 passed)

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.

1 participant