I am trying to simulate scenario mentioned in KB 7018895 - Howto do OAuth Client Registration using REST API (https://support.microfocus.com/kb/doc.php?id=7018895#) document, there are four basic steps in this document for step one i am able to capture the session ID in cookies file using CURL command mentioned in the document which i am using in step two to get the access token generated.

But step two which actually generates an access token fails after 302 redirect stating " error=unauthorized_client&error_description=this+g rant+is+not+supported+by+authorization+server".

Application registered to use for this scenario is web based and allows Authorization code & Resource Owner Credentials grant.

Really appreciate any help or pointers to this issue

I am using Access Manager 4.4 version.