feat: sign up with Google (#862)

This PR links to this issue: #791 
Now users can see a new option to sign up with Google on the signup
page.
This commit is contained in:
Surya Pratap Singh
2024-01-25 05:52:19 +05:30
committed by GitHub
parent b115d85fb7
commit 11dd93451a
2 changed files with 44 additions and 3 deletions

View File

@ -1,6 +1,8 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
import { IS_GOOGLE_SSO_ENABLED } from '@documenso/lib/constants/auth';
import { SignUpForm } from '~/components/forms/signup';
export default function SignUpPage() {
@ -17,7 +19,7 @@ export default function SignUpPage() {
signing is within your grasp.
</p>
<SignUpForm className="mt-4" />
<SignUpForm className="mt-4" isGoogleSSOEnabled={IS_GOOGLE_SSO_ENABLED} />
<p className="text-muted-foreground mt-6 text-center text-sm">
Already have an account?{' '}