Ready to post? First, try searching for your answer.
Is there a way to abstract away auth0 for local development and testing? I am using React and MSW (to mock away the backend layer) and it’s working really well both for dev and test.
What I’m looking for is a way to mimic the functionality of auth0-react, by conditionally providing a hook/provider with the same signature if on local or test. Alternatively I tried to create my own tokens with fake data in MSW using Jose, but I couldn’t get all the way when it came signing with RS256. I don’t really care about verifying the token in my mocked backend. Any ideas?