Repository navigation
Document private-use scheme redirect URIs on OAuth client endpoints - #65
Merged
Merged
Conversation
outline/outline#13945 updated the IsUrlList validator used by the OAuthClient model so that redirectUris now accept private-use URI schemes for native applications (RFC 8252), e.g. com.example.app:/oauth2redirect, in addition to absolute http(s) URLs. Reflect this in the oauthClients.create and oauthClients.update request schemas. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P7kukZTvUzQ4JXfuTuGCM5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reviewed PRs merged to outline/outline in the last day and updated the OpenAPI spec for the one change affecting the public API.
outline/outline#13945 ("fix: Allow private-use URI schemes for OAuth redirect URIs") updated the
IsUrlListvalidator used by theOAuthClientmodel. TheredirectUrisfield now accepts private-use URI schemes for native applications (e.g.com.example.app:/oauth2redirect, per RFC 8252), in addition to absolute http(s) URLs. The validator also now requires a scheme on standard URLs.This affects the documented
oauthClients.createandoauthClients.updateendpoints, whoseredirectUrisdescriptions and examples are updated accordingly.Other merged PRs reviewed (no spec changes needed)
Changes
spec3.yml: expanded theredirectUrisdescription and example onoauthClients.createandoauthClients.update.spec3.json: regenerated by the pre-commit hook.🤖 Generated with Claude Code
https://claude.ai/code/session_01P7kukZTvUzQ4JXfuTuGCM5
Generated by Claude Code