Problem obtaining RPT

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #24013
     SaizDev 
    Participant

    Greetings,

    I am working in an university assignment about UMA 2.0 and I am in trouble.

    I create a policy like this:

    {
        "policyId": "db88a221-7a03-452e-85be-6cf0a624e97c0",
    
        "permissions":
        [
            {
                "subject": "bob",
                "scopes": [
                    "read",
                    "write"
                ]
            }
        ]
    }

    Then, I ask for a permission ticket like this:

    [
        {
            "resource_id" : "db88a221-7a03-452e-85be-6cf0a624e97c0",
    
            "resource_scopes" : ["read","write"]
        }
    ]

    WHen I ask for a RPT I am getting this response:
    "error_description": "The client is not authorised to access the requested resource set. A request has been submitted to the resource owner requesting access to the resource",

    But, when I accept the request in console, works fine, why creating the policy with REST is not working?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?