Test Info

Issuerhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2019-09-11T09:17:09Z

Conditions


verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
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'}
1http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "5525f670-e6b3-41a9-afec-add4254aff3b",
    "nonce": "7y6NjhpFIIlGV7QG",
    "redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
    "response_type": "code token",
    "scope": "openid email",
    "state": "l8guIvZXFUEM56p6"
}
1redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=l8guIvZXFUEM56p6&nonce=7y6NjhpFIIlGV7QG&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
1redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=l8guIvZXFUEM56p6&nonce=7y6NjhpFIIlGV7QG&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
1http args{}
2responseURL with fragment
2responseaccess_token=aGxxlnoyjrXw6fmuJ8rZQML7MNIHObylJ4cNs0Ol&code=NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE&scope=openid+email&grant_id=c2db69de-cdbe-48db-97e9-9dd06bd3640b&state=l8guIvZXFUEM56p6&token_type=Bearer&expires_in=7200
2response{'access_token': 'aGxxlnoyjrXw6fmuJ8rZQML7MNIHObylJ4cNs0Ol', 'code': 'NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE', 'scope': 'openid email', 'grant_id': 'c2db69de-cdbe-48db-97e9-9dd06bd3640b', 'state': 'l8guIvZXFUEM56p6', 'token_type': 'Bearer', 'expires_in': 7200}
2AuthorizationResponse
{
    "access_token": "aGxxlnoyjrXw6fmuJ8rZQML7MNIHObylJ4cNs0Ol",
    "code": "NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE",
    "expires_in": 7200,
    "grant_id": "c2db69de-cdbe-48db-97e9-9dd06bd3640b",
    "scope": "openid email",
    "state": "l8guIvZXFUEM56p6",
    "token_type": "Bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'l8guIvZXFUEM56p6'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb', 'code': 'NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE', 'state': 'l8guIvZXFUEM56p6', 'grant_type': 'authorization_code', 'client_id': '5525f670-e6b3-41a9-afec-add4254aff3b'}, 'state': 'l8guIvZXFUEM56p6', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
    "state": "l8guIvZXFUEM56p6"
}
2request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token
2request_http_args{'headers': {'Authorization': 'Basic NTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiOlRFOUwxY2wzdHc=', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&code=NdHtY4U7DUGQKqY2pV8UlmA4r3gCuE&state=l8guIvZXFUEM56p6
2http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token status_code:200
2response{'access_token': 'FuKbzrHyyA00qVNxyWVbb8aCiaX6iKCzjdKlJgcd', 'scope': 'openid email', 'grant_id': 'c2db69de-cdbe-48db-97e9-9dd06bd3640b', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiOEVzVDZUeUZsT1ZzRGpLWTJtWU1IUSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsInByZWZlcnJlZF91c2VybmFtZSI6ImdlZXRoYW5qYWxpLmRAaWJtLmNvbSIsIm5hbWUiOiJHZWV0aGEgRCIsIm5vbmNlIjoiN3k2TmpocEZJSWxHVjdRRyIsImVtYWlsIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwiYWNyIjoidXJuOmlibTpzZWN1cml0eTpwb2xpY3k6aWQ6MSIsInVzZXJUeXBlIjoicmVndWxhciIsImRpc3BsYXlOYW1lIjoiR2VldGhhIEQiLCJmYW1pbHlfbmFtZSI6IkQiLCJncm91cElkcyI6WyJhbGxVc2VycyIsImFkbWluIl0sImF0X2hhc2giOiJINFdOdWQ5a0NnMGdkbHEzUmxuLUt3IiwidWlkIjoiNjQwMDA0S0c0UCIsImV4dCI6eyJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIn0sImlzcyI6Imh0dHBzOi8vb2lkYy1wcm9kLWV1MDFhLXRlc3QxLmljZS5pYm1jbG91ZC5jb20vb2lkYy9lbmRwb2ludC9kZWZhdWx0IiwiYXVkIjoiNTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiIiwic3ViIjoiNjQwMDA0S0c0UCIsImlhdCI6MTU2ODE5MzQyOSwiZXhwIjoxNTY4MjAwNjI5fQ.YMki5GdQAK19mB7VC5igPR-9AbQjCB8fELPmuiLFFort8hhlKT0nDO1FzE4gIgUtvRuLfaccYzq_embrpFjrmAumRVNr7QGXNCGXQ9bxA1Z83noY2Rz3zcaXoW_Z2lslXiJJd37ufrD4BHZ2jrsoUfLtCONM6ec8451ugo2KG_aSFl-7fQt47PWUqZoSlLb_IZTvQ-V6nTneSWoZWJn8_i4gCh0UczWklNq1UOsHlgB02YzX4560tC0jCs_D_C5OQIYxfEJWN0RbYqOAO7NqTxejWiozXp9WsUx0uPg_XzumGB_Nhxh3ciSNa6zhOZDJyMVMrYOlyxzjdsJ_zvX17g', 'token_type': 'Bearer', 'expires_in': 7199}
2AccessTokenResponse
{
    "access_token": "FuKbzrHyyA00qVNxyWVbb8aCiaX6iKCzjdKlJgcd",
    "expires_in": 7199,
    "grant_id": "c2db69de-cdbe-48db-97e9-9dd06bd3640b",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "at_hash": "H4WNud9kCg0gdlq3Rln-Kw",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "email_verified": true,
        "exp": 1568200629,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568193429,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "7y6NjhpFIIlGV7QG",
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "8EsT6TyFlOVsDjKY2mYMHQ",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "scope": "openid email",
    "token_type": "Bearer"
}
2jws header{'alg': 'RS256', 'typ': 'JWT', 'kid': 'server'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'l8guIvZXFUEM56p6', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer FuKbzrHyyA00qVNxyWVbb8aCiaX6iKCzjdKlJgcd'}}
2http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo status_code:200
2OpenIDSchema
{
    "acr": "urn:ibm:security:policy:id:1",
    "displayName": "Geetha D",
    "email": "geethanjali.d@ibm.com",
    "email_verified": true,
    "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"
}
2OpenIDSchema
{
    "acr": "urn:ibm:security:policy:id:1",
    "displayName": "Geetha D",
    "email": "geethanjali.d@ibm.com",
    "email_verified": true,
    "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"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyScopes
2conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED