Erpnext API Oauth

I am creating a APP to implement and using REST API to create and fetch data like product, customers remotely. I need to create Oauth credentials for connect the Erpnext to remote server and make communication using API’s. Can anyone help me to create Oauth credentials.
I’m new to Erpnext so please anyone have any knowledge of creating and using REST API in Erpnext, share with me .
Thanks :slight_smile:

1 Like

Ref: http://frappe.github.io/frappe/user/en/guides/integration/

Thanks , i am getting a weired error, may you can point out.
{"message":"UnauthorizedClientError(u'(unauthorized_client) <oauthlib.Request url=\"https://dsync.erpnext.com/api/method/frappe.integrations.oauth2.authorize?client_id=0d063cb0fc&scope=project&state=8630103&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&response_type=code\", http_method=\"GET\", headers=\"{u\\'X-Use-X-Accel-Redirect\\': u\\'True\\', u\\'Accept-Language\\': u\\'en-GB,en-US;q=0.8,en;q=0.6\\', u\\'X-Frappe-Site-Name\\': u\\'dsync.erpnext.com\\', u\\'X-Forwarded-For\\': u\\'112.196.25.12, 195.154.133.212\\', u\\'Host\\': u\\'dsync.erpnext.com\\', u\\'Accept\\': u\\'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\\', u\\'User-Agent\\': u\\'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36\\', u\\'Connection\\': u\\'close\\', u\\'X-Forwarded-Proto\\': u\\'https\\', u\\'Cookie\\': u\\'_ga=GA1.2.1744596565.1499771878; _gid=GA1.2.757063278.1499771878; user_image=; user_id=dev%40goresonant.com; system_user=yes; full_name=Dev%20Testing; sid=45532a1c6f588b2e0392a6132a89068d25763793b7a59165755a85d7\\', u\\'X-Real-Ip\\': u\\'112.196.25.12\\', u\\'Upgrade-Insecure-Requests\\': u\\'1\\', u\\'Accept-Encoding\\': u\\'gzip, deflate, br\\'}\", body=\"\">',)"}

I am having the same error. Did you fix it?

any solutions?