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

Protect /main route #6

Merged
merged 7 commits into from
Mar 14, 2023
Merged

Protect /main route #6

merged 7 commits into from
Mar 14, 2023

Conversation

mshumayl
Copy link
Owner

No description provided.

- Create base custom login page
- Add login check with gSSP in main.tsx
@vercel
Copy link

vercel bot commented Mar 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
ai-daleel ✅ Ready (Inspect) Visit Preview Mar 14, 2023 at 2:30PM (UTC)

- Define dictionary to map colors
- Display auth options as rounded boxes
- Need to merge to main to verify each auth callback
@mshumayl
Copy link
Owner Author

mshumayl commented Mar 14, 2023

Need to merge with main to validate auth callbacks on prod.

Checks passed

  • Discord
  • Google
  • GitHub

@mshumayl mshumayl merged commit 46f2476 into main Mar 14, 2023
@mshumayl
Copy link
Owner Author

mshumayl commented Mar 14, 2023

GitHub auth fails with the following URL:

https://ai-daleel.vercel.app/auth/signin?callbackUrl=https%3A%2F%2Fai-daleel.vercel.app%2Fmain&error=OAuthAccountNotLinked

Update: Apparently OAuthAccountNotLinked just means that the same email is already being used via another provider. nextauthjs/next-auth#519 (comment)

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