Running Postman collections with Auth0 authorization

I have a set of Postman collection to run, which requires the Auth0 token.
At the moment, I have click ‘Get New Access Token’ sign in, then use the token for all my tests.

How do I automate that if I needed to run these tests automatically on a schedule basis?

Hi @scmay , welcome to the community!

For testing purposes, you could fetch an Access Token programmatically by logging a user in via the ROP flow, which does not use the normal browser redirection based flow, please see here for more information:

https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.