Test Info

Issuerhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default
Profile[]
Test IDOP-Response-code+id_token
Test descriptionRequest with response_type=code id_token
Timestamp2019-09-11T08:44:54Z

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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": "SMAG83Te2wgdV23B",
    "redirect_uri": "https://op.certification.openid.net:61914/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "dMUseSvSJdYHCOCJ"
}
0redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=dMUseSvSJdYHCOCJ&nonce=SMAG83Te2wgdV23B&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61914%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
0redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=dMUseSvSJdYHCOCJ&nonce=SMAG83Te2wgdV23B&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61914%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
1http args{}
1responseURL with fragment
1responsecode=otPc3hbNtqtf8z14AsH2i8WGVAQcuT&grant_id=b6b58486-b1b0-43ff-a082-3bcae7a926bf&id_token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiQjV4NUlYU0FrdHhVYXZveEFqWE45QSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIiwibm9uY2UiOiJTTUFHODNUZTJ3Z2RWMjNCIiwiZW1haWwiOiJnZWV0aGFuamFsaS5kQGlibS5jb20iLCJhY3IiOiJ1cm46aWJtOnNlY3VyaXR5OnBvbGljeTppZDoxIiwidXNlclR5cGUiOiJyZWd1bGFyIiwiZGlzcGxheU5hbWUiOiJHZWV0aGEgRCIsImZhbWlseV9uYW1lIjoiRCIsImNfaGFzaCI6ImNiT3pEYXB6dWtjNkIzamZ5V2xSdFEiLCJncm91cElkcyI6WyJhbGxVc2VycyIsImFkbWluIl0sInVpZCI6IjY0MDAwNEtHNFAiLCJleHQiOnsidGVuYW50SWQiOiJvaWRjLXByb2QtZXUwM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AsH2i8WGVAQcuT",
    "grant_id": "b6b58486-b1b0-43ff-a082-3bcae7a926bf",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "c_hash": "cbOzDapzukc6B3jfyWlRtQ",
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "exp": 1568198694,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568191494,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "SMAG83Te2wgdV23B",
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "B5x5IXSAktxUavoxAjXN9A",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "state": "dMUseSvSJdYHCOCJ"
}
1phase<--<-- 4 --- Done -->-->
1end
1assertionVerifyAuthnResponse
1conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
1assertionCheckIdTokenNonce
1conditioncheck-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
1conditionDone: status=OK

Result

PASSED