Not able to get user attributes

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #23060
     tiagofrontkom 
    Participant

    Hey there,

    I’ve been trying to get user attributes (without using the legacy API) with the following request

    curl -X GET \
    https://sso.nsf.no/sso/json/users/1979934 \
    -H ‘Content-Type: application/json’ \
    -H ‘iPlanetDirectoryPro: AQIC5wM2LY4SfczUSA_xwzYoXcaREH7SqNh4c0jGTlXyrxw.*AAJTSQACMDIAAlNLABIzMjYyMjEzNjA5OTM1NjY3MDcAAlMxAAIwMQ..*’

    But I keep getting 401:
    {
    “code”: 401,
    “reason”: “Unauthorized”,
    “message”: “Access Denied”
    }

    Is there anything missing? I know the token is valid because it works on the legacy request (https://sso.nsf.no/sso/identity/attributes).

    Can anyone point me into the right direction?

    Thanks,

    Tiago

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?