Version Packages - #64
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 7, 2026 21:57
03d4d46 to
d7ae1e2
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
September 7, 2026 22:01
49c1623 to
52619a7
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 7, 2026 22:01
52619a7 to
70e1b4b
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@seamless-auth/types@0.20.0
Minor Changes
9541d01: Carry
returnToback out of the OAuth callback, and hold it to a scheme that can be alink destination.
StartOAuthLoginRequestSchemahas taken areturnTosince OAuth landed, and nothing evergave it back.
seamless-auth-apivalidated it against the configured origins and signed itinto the state, and
seamless-auth-reactsent it, but no schema carried it to the end of theflow, so a client that asked to be returned somewhere had no way to learn where. It was a
field that looked supported and did nothing.
OAuthLoginSuccessResponseSchemanow carries an optionalreturnTo. The API reads it backout of the signed state rather than from the callback request, so it is the value validated
at
/startand not one introduced at the end of the round trip. Absent when the caller askedfor nothing, so a client falls through to its own default rather than treating absence as an
error.
Both
returnTofields move fromz.url()toRedirectTargetSchema.z.url()acceptsjavascript:alert(1)anddata:text/html,..., and a client navigates to whatever comes backout of this flow, so it is the same sink a magic link destination is. That is what
RedirectTargetSchemawas added for in 0.18.0, and the OAuth fields should have used itthen.
Additive for a consumer that ignores the new field. A caller that was somehow sending a
javascript:ordata:returnTois now refused at the schema rather than later, which isthe intended change.