Test Info

Issuerhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default
Profile[]
Test IDOP-UserInfo-Body
Test descriptionUserInfo Endpoint access with POST and bearer body
Timestamp2019-09-11T08:28:22Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default'}
0http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize",
    "claim_types_supported": [
        "normal"
    ],
    "claims_parameter_supported": true,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "family_name",
        "job_title",
        "email"
    ],
    "device_authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/device_authorization",
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "client_credentials",
        "password",
        "refresh_token",
        "urn:ietf:params:oauth:grant-type:device_code"
    ],
    "id_token_encryption_alg_values_supported": [
        "none"
    ],
    "id_token_encryption_enc_values_supported": [
        "none"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "introspection_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/introspect",
    "issuer": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
    "jwks_uri": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/jwks",
    "request_object_encryption_alg_values_supported": [
        "none"
    ],
    "request_object_encryption_enc_values_supported": [
        "none"
    ],
    "request_object_signing_alg_values_supported": [
        "none"
    ],
    "request_parameter_supported": true,
    "request_uri_parameter_supported": false,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "query",
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "code",
        "none",
        "token",
        "id_token",
        "token id_token",
        "code id_token",
        "code token",
        "code token id_token"
    ],
    "revocation_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/revoke",
    "scopes_supported": [
        "openid",
        "profile",
        "email",
        "phone"
    ],
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post"
    ],
    "user_authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/user_authorization",
    "userinfo_encryption_alg_values_supported": [
        "none"
    ],
    "userinfo_encryption_enc_values_supported": [
        "none"
    ],
    "userinfo_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo",
    "userinfo_signing_alg_values_supported": [
        "none"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "5525f670-e6b3-41a9-afec-add4254aff3b",
    "nonce": "md6V2wCjio0CzOJm",
    "redirect_uri": "https://op.certification.openid.net:61913/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "QVFd6y0TkT7cb6Vy"
}
0redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=QVFd6y0TkT7cb6Vy&nonce=md6V2wCjio0CzOJm&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61913%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
0redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=QVFd6y0TkT7cb6Vy&nonce=md6V2wCjio0CzOJm&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61913%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
1http args{}
1responseURL with fragment
1responseaccess_token=sg5HyuUngMhdQ0ATzgmToLeTivpnMbhCARcU00nP&scope=openid&grant_id=3ee8b4ff-db24-4135-b1fa-3b804fa4dee3&id_token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiS20tRDJNcVBkU092TjdDTEczeDBxUSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIiwibm9uY2UiOiJtZDZWMndDamlvMEN6T0ptIiwiZW1haWwiOiJnZWV0aGFuamFsaS5kQGlibS5jb20iLCJhY3IiOiJ1cm46aWJtOnNlY3VyaXR5OnBvbGljeTppZDoxIiwidXNlclR5cGUiOiJyZWd1bGFyIiwiZGlzcGxheU5hbWUiOiJHZWV0aGEgRCIsImZhbWlseV9uYW1lIjoiRCIsImdyb3VwSWRzIjpbImFsbFVzZXJzIiwiYWRtaW4iXSwiYXRfaGFzaCI6IktocHVqZUNheE1lLXRDY3gtbGVERkEiLCJ1aWQiOiI2NDAwMDRLRzRQIiwiZXh0Ijp7InRlbmFudElkIjoib2lkYy1wcm9kLWV1MDFhLXRlc3QxLmljZS5pYm1jbG91ZC5jb20ifSwiaXNzIjoiaHR0cHM6Ly9vaWRjLXByb2QtZXUwMWEtdGVzdDEuaWNlLmlibWNsb3VkLmNvbS9vaWRjL2VuZHBvaW50L2RlZmF1bHQiLCJhdWQiOiI1NTI1ZjY3MC1lNmIzLTQxYTktYWZlYy1hZGQ0MjU0YWZmM2IiLCJzdWIiOiI2NDAwMDRLRzRQIiwiaWF0IjoxNTY4MTkwNTAxLCJleHAiOjE1NjgxOTc3MDF9.RyXikdPTh7Dvi4G08olxg1yHlXY2x1i2vsEQM2eg7lk-sNY-DzKL-LwbYeG--KewuCKGikVdDESN4D2JcO9gn339vrNKoH6x9tZdrQbfJklF42GNdXInez18sqHLH-0TkkV79nsD1TkZmt1EEow3DlrQYt010RWbhsh0zht3iVnH04v8CsrwpstJsWkLmEzhqXozlGj_bRn1iiOm6SBJ8JUL1k2Wr4KFNL1bWOl3dBdV3CAe0gBkOs72sCdD4iT3w4_WJ_nKV1Rf6v8Scm_sx-RXFxvE4WgjcUBd22C2r_1ND2GOkj5eQtq3LnKJlYYvI_NQoQ4staEgDuz7fA3YJg&state=QVFd6y0TkT7cb6Vy&token_type=Bearer&expires_in=7200
1response{'access_token': 'sg5HyuUngMhdQ0ATzgmToLeTivpnMbhCARcU00nP', 'scope': 'openid', 'grant_id': '3ee8b4ff-db24-4135-b1fa-3b804fa4dee3', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiS20tRDJNcVBkU092TjdDTEczeDBxUSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ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er', 'expires_in': 7200}
1AuthorizationResponse
{
    "access_token": "sg5HyuUngMhdQ0ATzgmToLeTivpnMbhCARcU00nP",
    "expires_in": 7200,
    "grant_id": "3ee8b4ff-db24-4135-b1fa-3b804fa4dee3",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "at_hash": "KhpujeCaxMe-tCcx-leDFA",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "exp": 1568197701,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568190501,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "md6V2wCjio0CzOJm",
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "Km-D2MqPdSOvN7CLG3x0qQ",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "scope": "openid",
    "state": "QVFd6y0TkT7cb6Vy",
    "token_type": "Bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1phase<--<-- 5 --- UserInfo -->-->
1do_user_info_request
kwargs:{'state': 'QVFd6y0TkT7cb6Vy', 'method': 'POST', 'authn_method': 'token_in_message_body'}
1request{'body': 'access_token=sg5HyuUngMhdQ0ATzgmToLeTivpnMbhCARcU00nP'}
1request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo status_code:200
1OpenIDSchema
{
    "acr": "urn:ibm:security:policy:id:1",
    "displayName": "Geetha D",
    "email": "geethanjali.d@ibm.com",
    "ext": {
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
    },
    "family_name": "D",
    "given_name": "Geetha",
    "groupIds": [
        "allUsers",
        "admin"
    ],
    "name": "Geetha D",
    "preferred_username": "geethanjali.d@ibm.com",
    "realmName": "cloudIdentityRealm",
    "sub": "640004KG4P",
    "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
    "uid": "640004KG4P",
    "uniqueSecurityName": "640004KG4P",
    "userType": "regular"
}
1OpenIDSchema
{
    "acr": "urn:ibm:security:policy:id:1",
    "displayName": "Geetha D",
    "email": "geethanjali.d@ibm.com",
    "ext": {
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
    },
    "family_name": "D",
    "given_name": "Geetha",
    "groupIds": [
        "allUsers",
        "admin"
    ],
    "name": "Geetha D",
    "preferred_username": "geethanjali.d@ibm.com",
    "realmName": "cloudIdentityRealm",
    "sub": "640004KG4P",
    "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
    "uid": "640004KG4P",
    "uniqueSecurityName": "640004KG4P",
    "userType": "regular"
}
1phase<--<-- 6 --- Done -->-->
1end
1assertionVerifyResponse
1conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
1conditionDone: status=OK

Result

PASSED