Skip to content

Conversation

@MasterKale
Copy link
Collaborator

This PR adds a new options_to_json_dict helper that performs the same operation as options_to_json without stringifying the dict at the end. This can help Relying Parties combine the simplified representation options with other data before stringifying it all before sending it to the front end.

options_to_json has been refactored to call options_to_json_dict and stringify its return value, to preserve its existing functionality.

Fixes #254.

@MasterKale MasterKale merged commit 6a3f7c7 into master Jun 16, 2025
5 checks passed
@MasterKale MasterKale deleted the feat/254-options-to-json-dict branch June 16, 2025 22:20
@MasterKale MasterKale added this to the v2.6.0 milestone Sep 4, 2025
Stormheg added a commit to Stormheg/django-otp-webauthn that referenced this pull request Oct 4, 2025
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.

Factor options_to_json()

1 participant