Skip to content

fix(oidc): login flow with puter.ui.authenticateWithPuter#2588

Merged
KernelDeimos merged 1 commit intomainfrom
eric/26330_fix-authenticateWithPuter
Mar 4, 2026
Merged

fix(oidc): login flow with puter.ui.authenticateWithPuter#2588
KernelDeimos merged 1 commit intomainfrom
eric/26330_fix-authenticateWithPuter

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

It turns out there are nuances between puter.ui.authenticateWithPuter vs puter.auth.signIn - these don't do the same thing. The primary difference is that puter.ui.authenticateWithPuter will display an override if it's not triggered by a user action, whereas puter.auth.signIn will not. This definitely suggests puter.ui.authenticateWithPuter should be a caller of puter.auth.signIn instead of implementing its own logic for handling the popup - that makes this part of the code more fagile - but that refactor is out-of-scope for this bug fix.

It turns out there are nuances between `puter.ui.authenticateWithPuter`
vs `puter.auth.signIn` - these don't do the same thing. The primary
difference is that `puter.ui.authenticateWithPuter` will display an
override if it's not triggered by a user action, whereas
`puter.auth.signIn` will not. This definitely suggests
`puter.ui.authenticateWithPuter` should be a caller of
`puter.auth.signIn` instead of implementing its own logic for handling
the popup - that makes this part of the code more fagile - but that
refactor is out-of-scope for this bug fix.
@KernelDeimos KernelDeimos merged commit 3cd5268 into main Mar 4, 2026
4 checks passed
@jelveh jelveh deleted the eric/26330_fix-authenticateWithPuter branch May 1, 2026 20:00
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.

1 participant