Integration Tests Custom Claims or Pre-Created Users

We do this with one of our clients. We use our simulator to generate specific tokens that we use to test specific flows and scenarios.

It’s not trivial to set up, but possible.

Checkout our post about our approach to getting more control in tests

https://community.auth0.com/t/auth0-simulation-for-ephemeral-deployments-and-reliable-automated-testing/78334

Taras

1 Like