Files
supabase/apps/studio/pages/forgot-password.tsx
e491182054 Auth flow improvements (#46967)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES/NO

## What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

## What is the current behavior?

Please link any relevant issues here.

## What is the new behavior?

Feel free to include screenshots if it includes visual changes.

## Additional context

Add any other context or screenshots.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

* **New Features**
* Added “Continue with {provider}” sign-in and sign-up flows using
enabled external identity providers.
* Enabled inbound branding to focus a specific provider for customized
sign-in/sign-up experiences.

* **Improvements**
* Refined the sign-in options layout and “last used” tracking for
clearer authentication choices.
* Updated account identity/provider connection experiences (link/unlink
and management UI).

* **Bug Fixes**
  * Fixed hydration mismatches in sign-in and password-related layouts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-06-18 15:34:56 +08:00

34 lines
970 B
TypeScript

import Link from 'next/link'
import { ForgotPasswordWizard } from '@/components/interfaces/SignIn/ForgotPasswordWizard'
import { ForgotPasswordLayout } from '@/components/layouts/SignInLayout/ForgotPasswordLayout'
import type { NextPageWithLayout } from '@/types'
const ForgotPasswordPage: NextPageWithLayout = () => {
return (
<>
<div className="flex flex-col gap-4">
<ForgotPasswordWizard />
</div>
<div className="my-8 self-center text-sm">
<span className="text-foreground-light">Already have an account?</span>{' '}
<Link href="/sign-in" className="underline hover:text-foreground-light">
Sign In
</Link>
</div>
</>
)
}
ForgotPasswordPage.getLayout = (page) => (
<ForgotPasswordLayout
heading="Forgot your password?"
subheading="Enter your email and we'll send you a code to reset the password"
>
{page}
</ForgotPasswordLayout>
)
export default ForgotPasswordPage