Repository navigation
Tell users which private easl they're signing in to view - #49
Merged
Merged
Conversation
When an unauthenticated visitor is redirected to /auth/login from a private easl's account gate, name the easl and tell them to use the email they published from, instead of the generic "Sign in to easl" card. Direct /auth/login visits and the `easl login` CLI handshake keep the generic copy. Page structure and magic-link wiring are unchanged.
Deploy Previewhttps://preview-pr-49.easl.dev Updated at 2026-06-02T10:46:18.713Z |
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.
Why
When you open an account-private easl you're not signed in for — e.g. one you created on another device — you're bounced to a generic "Sign in to easl" page. It gives no hint why you landed there or which easl you were trying to open, and signing in with a different email quietly lands you on a "this easl isn't yours" error, which is confusing.
What
The sign-in page now recognizes when you arrived from a private easl: it names that easl ("This easl is private — sign in to view bright-hill-436f.easl.dev") and nudges you to use the email you originally published it from, so the round-trip back to your content just works. Direct visits to the sign-in page and the
easl loginCLI flow keep the existing generic copy, and the magic-link mechanics are unchanged.