Docs
Troubleshooting

Authentication

Learn about authentication troubles and their solutions.

I can't sign up or sign in

Likely you forgot to apply the migrations or the DATABASE_URL connection string is missing.

When I sign in on production it redirects me to localhost

Likely you have set the wrong redirect in your OAuth provider's settings. Also make sure the environment varialbe NEXT_PUBLIC_DASHBOARD_URL is set correctly.