Skip to content

fix(spec): mark scopeDetails array items as nullable in introspection…#11

Merged
shaikathaque merged 1 commit intomainfrom
fix-introspection-response-nullable-scope-details
Mar 16, 2026
Merged

fix(spec): mark scopeDetails array items as nullable in introspection…#11
shaikathaque merged 1 commit intomainfrom
fix-introspection-response-nullable-scope-details

Conversation

@shaikathaque
Copy link
Member

@shaikathaque shaikathaque commented Mar 16, 2026

Mark scopeDetails array items as nullable in the introspection response schema.

The server can return null elements in scopeDetails when token scopes can no longer be resolved. The spec previously declared items as non-nullable, causing SDK deserializers to crash on valid server responses.

This error was identified in the ruby tests: authlete/authlete-ruby-sdk#16

@shaikathaque shaikathaque self-assigned this Mar 16, 2026
@shaikathaque shaikathaque requested a review from srqai March 16, 2026 05:12
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