Replit Auth
Zero-setup sign-in with Replit accounts, on a Replit-branded page.
Replit gives you two built-in sign-in options. The right one depends on who your users are.
Sound familiar?
Use Clerk Auth for customer-facing apps, with your own accounts and branding, and Replit Auth for prototypes and internal tools, which use Replit accounts. Test with two accounts, then sign in on the published URL; if it fails only there, check the production Clerk environment.
Why it happens
Replit has two built-in sign-in options, both set up by Agent. Replit Auth signs users in with their Replit accounts on a Replit-branded page, in a single environment. Clerk Auth gives your app its own user accounts and fully custom branding, with separate development and production environments. Replit suggests Replit Auth for prototypes and internal tools, and Clerk for branded, customer-facing products.
With Clerk, Agent wires the production credentials into the published app, so sign-in works on the public URL. If it fails only there, check that the production Clerk environment was set up.
Already done for you
Zero-setup sign-in with Replit accounts, on a Replit-branded page.
Your app’s own accounts and branding, set up by Agent with no Clerk dashboard sign-up or keys to paste.
Agent can gate features behind sign-in and attach each record to the signed-in user.
Fix it yourself
In this order. Most apps get most of the way with these alone.
Clerk for customer-facing or commercial apps; Replit Auth for prototypes and internal tools.
For example: “Add sign-in to my app. Use Clerk Auth.”
Sign in as two users in two windows and confirm each sees only their own data.
Then sign in again on the published address, not just in Preview.
If sign-in fails only when published, confirm Agent set up the production Clerk environment.
Every route that returns user data should check who is signed in.
If the steps above turn up more than you have time for, or the app already has paying users, I take Replit apps to production: login and access rules, database and backups, payments, security, SEO and deployment.
App rescue: From $1,000, fixed price, scoped in writing before any work starts.
More in app rescue, or hire a Replit developer.
Questions
Replit Auth for prototypes and internal tools; Clerk Auth for branded, customer-facing or commercial products.
With Clerk, check that the production environment was set up. Then check the published app’s secrets and the logs.
Yes, Replit says you can start with one and migrate later. Switching after launch means moving users, so it’s easier to choose first.
Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.