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

Added NSNull as a JSONType in OIDFieldMapping. #905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mingyokim
Copy link
Collaborator

Addresses #904.

This change allows OIDTokenResponse to decode NSNull classes (https://github.com/openid/AppAuth-iOS/blob/master/Sources/AppAuthCore/OIDTokenResponse.m#L131) when using archivedDataWithRootObject:requiringSecureCoding:error: to decode OIDAuthState. This change is relevant to cases where OIDTokenResponse objects have null fields, such as the refresh token.

@mingyokim mingyokim marked this pull request as ready for review February 1, 2025 00:04
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