Hi Sakit, i did follow the documentation, sent request to the token url with grant_type as client credentials with scope as token
curl -X POST \
https://mygluserv.com/oxauth/restv1/token \
-H 'authorization: Basic QCFGMTU3LjBBNUIuOUE3Ni42QTdEITAwMDEhMjA2My44MjQ5ITAwMDghQkQ2MS40ODczLkJCRjcuMEUyQzpwYXNzd29yZA==' \
-H 'cache-control: no-cache' \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'postman-token: d91e2f5e-c092-0a6d-4c6f-7a5e4cf2fa64' \
-d 'grant_type=client_credentials&nonce=123456789'
and tried the below
1. Called the /oxauth/restv1/host/rsrc/resource_set API with get method by passing access token in the header to get all the protected resources list. This is giving below response
{
"error": "invalid_client_scope",
"error_description": "The requested scope is invalid, unknown, or malformed."
}
2. Called the /oxauth/restv1/host/rsrc/resource_set API with post method by passing the access token in the header to register resource. This is giving
2018-10-25 22:31:58,081 ERROR [qtp1007309018-22] [org.xdi.oxauth.exception.UncaughtException] (UncaughtException.java:41) - Jersey error.
javax.ws.rs.NotSupportedException: RESTEASY003065: Cannot consume content type
at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:387)
As i see in this ticket you were able to do all this so need your help, can you please provide steps for register resource, get registered resources, get permission ticket,...