Added Auth for a new app we’re building which is an account-based b2b saas. Easy to add, no doubt but its painfully obvious replit auth is built primarily for consumer apps.
We needed a streamlined flow for adding a user to a given account, e.g. a new employee gets added to a CRM, we need to associate that user with the company that invited them.
we found a workaround, but this should be something considered, e.g. affiliation for a given user should be inbuilt.
Additionally, during testing, the replit auth cookies are sticky and stay around even in new tabs/windows on incognito mode. This makes testing extremely difficult, especially because we can’t change users or log out of the replit context from the built in replit auth window.
Last request- remove/ let us change the auth powered by replit. This is fine as the baseline, but we should not expose anything about how the underlying system is built in our case.