Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirectTo parameter for redirecting after sign in #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christian-valadez
Copy link

Supabase now supports a redirectTo parameter after a user logs in: https://supabase.io/docs/reference/javascript/auth-signin#sign-in-with-redirect

@vercel
Copy link

vercel bot commented Oct 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/joshnuss/supabase-ui-svelte/AHhjYx3SUoeJ3HaWnS3Ew5hScAJt
✅ Preview: https://supabase-ui-svelte-git-fork-christian-valadez-master-joshnuss.vercel.app

Copy link
Contributor

@joshnuss joshnuss left a comment

Choose a reason for hiding this comment

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

Thanks Christian! I left one comment.


<LinkButton on:click={() => setView('sign_in')}
>Sign in with password</LinkButton
>
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a couple formatting issues in this file.

If possible, can you submit the PR without formatting changes, just adding redirectTo and format parts that are effected by that change.

I'm OK with the formatting adjustments, but they should go in a separate PR, so we can make sure there is a prettierrc/eslint in place.

@danlivingston danlivingston mentioned this pull request Dec 20, 2021
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.

2 participants