Test Info

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

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
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": "aRRU6AZLCKFWpsbl",
    "redirect_uri": "https://op.certification.openid.net:61916/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "l7DQkjG2zgxSM5bZ"
}
1redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=l7DQkjG2zgxSM5bZ&nonce=aRRU6AZLCKFWpsbl&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61916%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
1redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=l7DQkjG2zgxSM5bZ&nonce=aRRU6AZLCKFWpsbl&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61916%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
2http args{}
2responseURL with fragment
2responseaccess_token=aIMHVtA8m5bqiYtobJEaDJmglVrTxlsyYe4nGGOp&code=KLB76BLQSvWVcEeWY9hLwe0QtDXiGZ&scope=openid&grant_id=4794eb7b-d951-4b8c-b533-5089e634bc76&id_token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiNW9lYzdBb0MtamJUc3pfTWNmSUlhdyIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIiwibm9uY2UiOiJhUlJVNkFaTENLRldwc2JsIiwiZW1haWwiOiJnZWV0aGFuamFsaS5kQGlibS5jb20iLCJhY3IiOiJ1cm46aWJtOnNlY3VyaXR5OnBvbGljeTppZDoxIiwidXNlclR5cGUiOiJyZWd1bGFyIiwiZGlzcGxheU5hbWUiOiJHZWV0aGEgRCIsImZhbWlseV9uYW1lIjoiRCIsImNfaGFzaCI6Ik1iVkZOT3Bwbm1sVVJCRHZvUjBtN1EiLCJncm91cElkcyI6WyJhbGxVc2VycyIsImFkbWluIl0sImF0X2hhc2giOiJneUVLVlNvN3NMWFNIRy1fMjE2Q0VRIiwidWlkIjoiNjQwMDA0S0c0UCIsImV4dCI6eyJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIn0sImlzcyI6Imh0dHBzOi8vb2lkYy1wcm9kLWV1MDFhLXRlc3QxLmljZS5pYm1jbG91ZC5jb20vb2lkYy9lbmRwb2ludC9kZWZhdWx0IiwiYXVkIjoiNTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiIiwic3ViIjoiNjQwMDA0S0c0UCIsImlhdCI6MTU2ODE5MjczNSwiZXhwIjoxNTY4MTk5OTM1fQ.ZgKuG4eVwnUhEg_MLLdm4Abo2JpF8IcNhlwJosLGkkreOzP3AKmgFkFjBFdGgjW8CSajma0IubccOwkJcxl1u5C6bEzd8vIAemL3jZkU-LVH6TKvKXyKgbKOXvvovrHjF2eRlWLarOO31bBoqM9YJVJAQ0PgTzPGpt4w9afQElGc7LdCOYy8gN5WQDXIua-eYaerWOn8vHROzqya9eB9XpHXzuyTx8fCMFTdlxjJj621TECY7y8d4uj8haaZfJozEh8qp7VixV6wrn7fe-eFtvW-_19U8Iwm8s-R6gbvYpoMySnsgzRapJ0xV_RiAVNAL3Ua537nMOQAsjgMSrj8Dw&state=l7DQkjG2zgxSM5bZ&token_type=Bearer&expires_in=7200
2response{'access_token': 'aIMHVtA8m5bqiYtobJEaDJmglVrTxlsyYe4nGGOp', 'code': 'KLB76BLQSvWVcEeWY9hLwe0QtDXiGZ', 'scope': 'openid', 'grant_id': '4794eb7b-d951-4b8c-b533-5089e634bc76', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoiNW9lYzdBb0MtamJUc3pfTWNmSUlhdyIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGM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9XpHXzuyTx8fCMFTdlxjJj621TECY7y8d4uj8haaZfJozEh8qp7VixV6wrn7fe-eFtvW-_19U8Iwm8s-R6gbvYpoMySnsgzRapJ0xV_RiAVNAL3Ua537nMOQAsjgMSrj8Dw', 'state': 'l7DQkjG2zgxSM5bZ', 'token_type': 'Bearer', 'expires_in': 7200}
2AuthorizationResponse
{
    "access_token": "aIMHVtA8m5bqiYtobJEaDJmglVrTxlsyYe4nGGOp",
    "code": "KLB76BLQSvWVcEeWY9hLwe0QtDXiGZ",
    "expires_in": 7200,
    "grant_id": "4794eb7b-d951-4b8c-b533-5089e634bc76",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "at_hash": "gyEKVSo7sLXSHG-_216CEQ",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "c_hash": "MbVFNOppnmlURBDvoR0m7Q",
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "exp": 1568199935,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568192735,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "aRRU6AZLCKFWpsbl",
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "5oec7AoC-jbTsz_McfIIaw",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "scope": "openid",
    "state": "l7DQkjG2zgxSM5bZ",
    "token_type": "Bearer"
}
2phase<--<-- 4 --- Done -->-->
2end
2assertionVerifyAuthnResponse
2conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
2conditionDone: status=OK

Result

PASSED