Hello Community,
I’m working with Auth0 for user authentication in my application and facing a challenge with automating the generation of user-specific tokens for API testing. My goal is to create an automated process or script that allows developers to generate access tokens tied to specific users, which are necessary for testing user-authenticated endpoints in our application.
We’ve explored a few methods, but each comes with its challenges:
- Selenium Automation: Encountered issues due to Auth0’s dynamic security features.
- Refresh Tokens: This doesn’t seem to fit our need for user-specific tokens.
- Auth0 CLI and Manual Token Generation: These methods provide broader access than what we are looking for.
I am seeking advice or best practices on:
- Efficient ways to automate the generation of user-specific tokens with Auth0.
- Any recommended tools or scripts that can facilitate this process.
- Insights into handling Auth0’s security features in an automated token generation process.
Any guidance or suggestions from your experiences would be greatly appreciated!
Thank you!