Regarding Oauth 2.0 Authentication in codeigniter

I’m trying to use Oauth 2.0 for API authentication. It works on localhost,but on server it’s not working i’m getting error:
error getting access token from client_credentials flow postman

can anyone tell me, how can i resolve it.

Please search for related topics, and then read through the guidelines before creating a new issue.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem. Please make sure images or code samples don’t contain authentication tokens or credentials.

App information (please complete the following information):

  • App Type [e.g. Chrome App, Native App]
  • Postman Version [e.g. 6.0.1]
  • OS: [e.g. macOS High Sierra 10.13.2]

Additional context
Add any other context about the problem here.