-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oauth2 not working in 7.10.4 #5711
Comments
@LEAP-nishit we've changed the behavior of the API and working on it to make it better. Also, if you are using Postman, there is an easier way to get access token. Thank you! |
So how can I get a key to interact with the API until this is fixed? Is there a way to comment out authorization? |
Even I am facing the same issue. How to setup using postman? I am unable to generate a new access token using postman. An example would be great. |
Hi @prasadh13, in my case I successfully set up the postman and using Password and Client Credentials auth also, using the fallowing steps in my SuiteCRM instance folder:
also you will need an OAuth2 Client, call the URL: I hope it helps Reference to the doc site: https://docs.suitecrm.com/developer/api/version-8/configure-suitecrm/ |
Issue
There are two issues here.
The first is on a clean instance of SuiteCRM the only Grant that seems to be generated is Client credential even though Password Grant is selected.
Using the Client credential does not seen to work and results in the following error. Here is a response from Postman.
Expected Behavior
Oauth2 authorization should work.
Actual Behavior
Server responds as
unsupported_grant_type
.Possible Fix
Steps to Reproduce
Issue 1
Allowed Grant Type:Client Credentials
Issue 2.
Context
Unable to interact from external application with CRM, an advertised feature that does not work.
Your Environment
The text was updated successfully, but these errors were encountered: