Skip to content

Stop unnecessarily setting screen_hint=sign-in#107

Merged
cmatheson merged 1 commit into
mainfrom
only-pass-screen-hint-when-necessary
Jan 9, 2026
Merged

Stop unnecessarily setting screen_hint=sign-in#107
cmatheson merged 1 commit into
mainfrom
only-pass-screen-hint-when-necessary

Conversation

@cmatheson
Copy link
Copy Markdown
Collaborator

@cmatheson cmatheson commented Jan 9, 2026

It's counter-productive to send this parameter because it prevents us from contextually redirecting user's back to the sign-up page when clients aren't behaving properly.

It's counter-productive to send this parameter because it prevents us
from contextually redirecting user's back to the sign-up page when
clients are behaving properly.
@cmatheson cmatheson requested a review from nicknisi January 9, 2026 00:01
Comment thread src/create-client.ts
organizationId?: string;
passwordResetToken?: string;
state?: any;
type: "sign-in" | "sign-up";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing type is a breaking change, right? Do we want to be backwards compatible?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this is a private interface so i don't think backwards compat is affected?

Copy link
Copy Markdown
Contributor

@mthadley mthadley Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I glossed over that the references in the public method interfaces are actually Omit-ing this. My bad.

@cmatheson cmatheson merged commit f7f69c6 into main Jan 9, 2026
4 checks passed
@cmatheson cmatheson deleted the only-pass-screen-hint-when-necessary branch January 9, 2026 02:52
This was referenced Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants