Test Info

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

Conditions


verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number'] [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'}
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": "lFDsXVfvWrxCbCIg",
    "redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
    "response_type": "code token",
    "scope": "openid phone",
    "state": "2IbVk6vY5pJlUFRC"
}
0redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=2IbVk6vY5pJlUFRC&nonce=lFDsXVfvWrxCbCIg&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
0redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=2IbVk6vY5pJlUFRC&nonce=lFDsXVfvWrxCbCIg&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
0http args{}
1responseURL with fragment
1responseaccess_token=OagVp4IG6yq5hfqJNN0CifQMEyEo8Pl7bV6ehmyt&code=ySgJ208WsAZBxIy2EQe5dtfnpvf5ik&scope=phone+openid&grant_id=c8ad5aff-9c39-4669-9d41-e3060a758a97&state=2IbVk6vY5pJlUFRC&token_type=Bearer&expires_in=7200
1response{'access_token': 'OagVp4IG6yq5hfqJNN0CifQMEyEo8Pl7bV6ehmyt', 'code': 'ySgJ208WsAZBxIy2EQe5dtfnpvf5ik', 'scope': 'phone openid', 'grant_id': 'c8ad5aff-9c39-4669-9d41-e3060a758a97', 'state': '2IbVk6vY5pJlUFRC', 'token_type': 'Bearer', 'expires_in': 7200}
1AuthorizationResponse
{
    "access_token": "OagVp4IG6yq5hfqJNN0CifQMEyEo8Pl7bV6ehmyt",
    "code": "ySgJ208WsAZBxIy2EQe5dtfnpvf5ik",
    "expires_in": 7200,
    "grant_id": "c8ad5aff-9c39-4669-9d41-e3060a758a97",
    "scope": "phone openid",
    "state": "2IbVk6vY5pJlUFRC",
    "token_type": "Bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': '2IbVk6vY5pJlUFRC'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb', 'code': 'ySgJ208WsAZBxIy2EQe5dtfnpvf5ik', 'state': '2IbVk6vY5pJlUFRC', 'grant_type': 'authorization_code', 'client_id': '5525f670-e6b3-41a9-afec-add4254aff3b'}, 'state': '2IbVk6vY5pJlUFRC', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "ySgJ208WsAZBxIy2EQe5dtfnpvf5ik",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
    "state": "2IbVk6vY5pJlUFRC"
}
1request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token
1request_http_args{'headers': {'Authorization': 'Basic NTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiOlRFOUwxY2wzdHc=', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&code=ySgJ208WsAZBxIy2EQe5dtfnpvf5ik&state=2IbVk6vY5pJlUFRC
1http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token status_code:200
1response{'access_token': 'cnlCHgdFI1QqYjG0enoqFfvGNCGKFSsLYlGju0th', 'scope': 'phone openid', 'grant_id': 'c8ad5aff-9c39-4669-9d41-e3060a758a97', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiREo3Qk1XZnV3anQzUlRXYzR2SWlfQSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIi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access_token": "cnlCHgdFI1QqYjG0enoqFfvGNCGKFSsLYlGju0th",
    "expires_in": 7199,
    "grant_id": "c8ad5aff-9c39-4669-9d41-e3060a758a97",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "at_hash": "xIExB2ivwbYnM2luOZPHfQ",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "exp": 1568200632,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568193432,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "lFDsXVfvWrxCbCIg",
        "phone_number_verified": true,
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "DJ7BMWfuwjt3RTWc4vIi_A",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "scope": "phone openid",
    "token_type": "Bearer"
}
1jws header{'alg': 'RS256', 'typ': 'JWT', 'kid': 'server'}
1phase<--<-- 5 --- UserInfo -->-->
1do_user_info_request
kwargs:{'state': '2IbVk6vY5pJlUFRC', 'method': 'GET', 'authn_method': 'bearer_header'}
1request{'body': None}
1request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo
1request_http_args{'headers': {'Authorization': 'Bearer cnlCHgdFI1QqYjG0enoqFfvGNCGKFSsLYlGju0th'}}
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",
    "phone_number_verified": true,
    "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",
    "phone_number_verified": true,
    "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
1assertionVerifyScopes
1conditionverify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['phone_number'] [Verifies that the claims corresponding to the requested scopes are returned]
1assertionCheckHTTPResponse
1conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
1assertionVerifyResponse
1conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
1conditionDone: status=OK

Result

WARNING
Warnings:
The following claims were missing from the returned information: ['phone_number']