After our upgrade to Version 12, we are receiving a 500 Error when trying to use OAuth 2.0 Client Credentials Grant:
Request:
https://sugarclub.sugarcrm.com/api.ashx/v2/oauth/token
Screenshot in PostMan
Response:
After our upgrade to Version 12, we are receiving a 500 Error when trying to use OAuth 2.0 Client Credentials Grant:
Request:
https://sugarclub.sugarcrm.com/api.ashx/v2/oauth/token
Screenshot in PostMan
Response:
Patrick M. Thanks for checking in on this. I was chatting with mrussellSugarCRM about this and he got it working after regenerating the Client ID and Client Secret.
It looks like we're not the first ones to run into this ( API server error when authorizing) Maybe a bug in the 12.x upgrade or something that needs to be noted somewhere (also, totally possible I missed it if is already documented). We just upgraded from 11.1 to 12.1.4 this month, so it's a recent issue.
There were many changes to Oauth, including the secrets being stored as hashed values. Additionally there were many non standard compliant aspects of oauth that have been corrected so there are things that may seem like upgrade bugs, but they really are issues that are fixed becasue they did not ahere to the OAuth specification
Makes sense, thanks Patrick M.
Makes sense, thanks Patrick M.