# Regarding Oauth 2.0 Authentication in codeigniter

**URL:** <https://community.postman.com/t/regarding-oauth-2-0-authentication-in-codeigniter/7507>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [August 29, 2019, 9:40am UTC](https://community.postman.com/t/regarding-oauth-2-0-authentication-in-codeigniter/7507 "2019-08-29T09:40:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anand.k](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anand.k](https://community.postman.com/u/anand.k)\
**Post date:** [August 29, 2019, 9:40am UTC](https://community.postman.com/t/regarding-oauth-2-0-authentication-in-codeigniter/7507/1 "2019-08-29T09:40:34Z")

</div>

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](https://community.postman.com/t/about-the-help-category/38) 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.
