# Automated test on CI Newman and Auth0 without client\_credentials

**URL:** <https://community.postman.com/t/automated-test-on-ci-newman-and-auth0-without-client-credentials/68374>\
**Category:** Help Hub\
**Tags:** newman-project, qa, tests, authorization, authentication\
**Created:** [September 13, 2024, 9:29am UTC](https://community.postman.com/t/automated-test-on-ci-newman-and-auth0-without-client-credentials/68374 "2024-09-13T09:29:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdelpierre](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jdelpierre](https://community.postman.com/u/jdelpierre)\
**Post date:** [September 13, 2024, 9:29am UTC](https://community.postman.com/t/automated-test-on-ci-newman-and-auth0-without-client-credentials/68374/1 "2024-09-13T09:29:20Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

I’m currently implementing API testing on a project.  
This project is linked to Auth0.  
So there’s an APP (SPA format) which is protected by the Auth0 Management API via authentication.  
However, everything I’ve been able to find on forums, tutorials, etc., concerns the possibility of authenticating with the type: client\_credentials  
But the API manager doesn’t allow this functionality on the APP in question, the box is grayed out and so I can’t activate it.

(Moreover, in the “Test” onget of Auth0’s API manager, when I select the API concerned, I receive this message:  
Error! grant type ‘client\_credentials’ not allowed for the client.

So, I’ve managed to use autentication in postman with Autentication on the Oauth2 choice (and fill in everything I need, Callback url, Url, Client ID, Client Secret, scope, and even the audiance that is required), it works, but I need to fill in the login/password fields in a window that opens.

I need to find the right system allowing me to play these Postman collections in Newman, and therefore not have the user input system.

I can’t find an example that describes how to do this workflow, the code, the pre-script or any other help to point me in the right direction.

I’d like to thank in advance anyone who can spare the time to help me.  
Have a nice day.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 13, 2024, 9:30am UTC](https://community.postman.com/t/automated-test-on-ci-newman-and-auth0-without-client-credentials/68374/2 "2024-10-13T09:30:07Z")

</div>

Closed on October 13, 2024, 9:30am UTC

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