Hi all, please share your feedback & questions around the B2B SaaS Reference Application.
What’s missing, what would you like to see us add? Any problems getting it up and running?
Hi all, please share your feedback & questions around the B2B SaaS Reference Application.
What’s missing, what would you like to see us add? Any problems getting it up and running?
Hi @wellingtonmajora did you run the installation steps? There should be a file in the root of the project called .env.local
- do you have that?
thanks for the quick response
i don’t have that but i have .env.example
just realised this command failed to run: npm run auth0:bootstrap, previous commands ran successfully. Will delete and try again
the error was: Failed to load tenants: config.json file is missing.\n’
Hey team,
Just discovered the SAAS starter demo you built for Auth0, and I have to say, I’m really impressed with the depth and thoughtfulness that went into it.
Everything worked smoothly once I gave it a clean tenant to work with.
As someone who knows how tricky authentication systems can be, especially when it comes to real-world implementation, I truly appreciate the effort you’ve put into making this as smooth as possible.
One thing I’m curious about: given how challenging it can be to test auth integrations properly, do you have any recommendations or insights into how you’re handling testing for this? Especially in terms of end-to-end testing and ensuring different user roles and access controls are correctly validated? I would love to see examples of how you might write tests for these scenarios.
Again, Please accept my congratulations on building a great showcase of what is possible with your APIs. Whoever conceived this deserves a promotion!!
@wellingtonmajora I can’t be sure but it sounds like you’re having permissions issues with your machine. See this thread: "config.json file is missing" Error when Using "auth0 universal-login customize"
I’d recommend starting from scratch with a new Auth0 tenant and new clone of the repo, looking out for any permissions or other errors when installing.
Hi @bettiah thanks so much for your feedback!
Great question - we haven’t provided specific examples in this repo, but I’d highly recommend intercepting the authentication requests and mocking the ID token that would be minted by Auth0 as opposed to actually logging in during the e2e tests. Here are a few resources to get you started and I’ll ask around to see if we have anything more concrete: