Test Info

Issuerhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default
Profile[]
Test IDOP-Req-acr_values
Test descriptionProviding acr_values
Timestamp2019-09-11T08:15:38Z

Conditions


used-acr-value: status=WARNING, message=Used acr value: urn:ibm:security:policy:id:1, preferred: ['1', '2'] [The acr value in the ID Token]
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
{
    "acr_values": "1 2",
    "client_id": "5525f670-e6b3-41a9-afec-add4254aff3b",
    "nonce": "bCMtliVDb0e1RDSx",
    "redirect_uri": "https://op.certification.openid.net:61906/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "THLvlWz67CLewBaM"
}
0redirect urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=THLvlWz67CLewBaM&nonce=bCMtliVDb0e1RDSx&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61906%2Fauthz_cb&acr_values=1+2&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
0redirecthttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=THLvlWz67CLewBaM&nonce=bCMtliVDb0e1RDSx&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61906%2Fauthz_cb&acr_values=1+2&client_id=5525f670-e6b3-41a9-afec-add4254aff3b
4responseResponse URL with query part
4response{'code': 'L28gz0XwV9y8gW7xZ0MOXknclTHURG', 'grant_id': 'b1b233bc-24d7-405a-95de-4e19bbf64183', 'state': 'THLvlWz67CLewBaM'}
4response{'code': 'L28gz0XwV9y8gW7xZ0MOXknclTHURG', 'grant_id': 'b1b233bc-24d7-405a-95de-4e19bbf64183', 'state': 'THLvlWz67CLewBaM'}
4AuthorizationResponse
{
    "code": "L28gz0XwV9y8gW7xZ0MOXknclTHURG",
    "grant_id": "b1b233bc-24d7-405a-95de-4e19bbf64183",
    "state": "THLvlWz67CLewBaM"
}
4phase<--<-- 4 --- AccessToken -->-->
4requestop_args: {'state': 'THLvlWz67CLewBaM'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61906/authz_cb'}
4do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61906/authz_cb', 'code': 'L28gz0XwV9y8gW7xZ0MOXknclTHURG', 'state': 'THLvlWz67CLewBaM', 'grant_type': 'authorization_code', 'client_id': '5525f670-e6b3-41a9-afec-add4254aff3b'}, 'state': 'THLvlWz67CLewBaM', 'authn_method': 'client_secret_basic'}
4AccessTokenRequest
{
    "code": "L28gz0XwV9y8gW7xZ0MOXknclTHURG",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61906/authz_cb",
    "state": "THLvlWz67CLewBaM"
}
4request_urlhttps://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token
4request_http_args{'headers': {'Authorization': 'Basic NTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiOlRFOUwxY2wzdHc=', 'Content-Type': 'application/x-www-form-urlencoded'}}
4requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61906%2Fauthz_cb&code=L28gz0XwV9y8gW7xZ0MOXknclTHURG&state=THLvlWz67CLewBaM
4http response
url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token status_code:200
4response{'access_token': 'scX0q4JSpdGLO0YQER6bYsp81N5IVBqoGdGYrHgO', 'scope': 'openid', 'grant_id': 'b1b233bc-24d7-405a-95de-4e19bbf64183', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoibDhyUjRUMjFsS2hUbUs2VkNsTHBLdyIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIiwibm9uY2UiOiJiQ010bGlWRGIwZTFSRFN4IiwiZW1haWwiOiJnZWV0aGFuamFsaS5kQGlibS5jb20iLCJhY3IiOiJ1cm46aWJtOnNlY3VyaXR5OnBvbGljeTppZDoxIiwidXNlclR5cGUiOiJyZWd1bGFyIiwiZGlzcGxheU5hbWUiOiJHZWV0aGEgRCIsImZhbWlseV9uYW1lIjoiRCIsImdyb3VwSWRzIjpbImFsbFVzZXJzIiwiYWRtaW4iXSwiYXRfaGFzaCI6IlZWQ3JhVFJuREhEN2ZYeWpudVZZSlEiLCJ1aWQiOiI2NDAwMDRLRzRQIiwiZXh0Ijp7InRlbmFudElkIjoib2lkYy1wcm9kLWV1MDFhLXRlc3QxLmljZS5pYm1jbG91ZC5jb20ifSwiaXNzIjoiaHR0cHM6Ly9vaWRjLXByb2QtZXUwMWEtdGVzdDEuaWNlLmlibWNsb3VkLmNvbS9vaWRjL2VuZHBvaW50L2RlZmF1bHQiLCJhdWQiOiI1NTI1ZjY3MC1lNmIzLTQxYTktYWZlYy1hZGQ0MjU0YWZmM2IiLCJzdWIiOiI2NDAwMDRLRzRQIiwiaWF0IjoxNTY4MTg5NzM4LCJleHAiOjE1NjgxOTY5Mzh9.kcEK6sqPRYoTdu0LUInqi7LP5vGVMSA5AkJmpyfWioL_IOiDOrJ6sdsNT2LvbsumD260FP8dHa8ZsihKCsXbld0eWpgBENjMI_YhNOEeGU-JRsjRpLpDdAzfKSz-VbW-O2LIKg2kaYH0GTlmUoZJt78I_RgyXVZ7Tb35J81pJx7eEd-tXSPvThYgBYFj3Iv0eP5xM1nAMnV2Nwpz-RhaXftWB9jcQICvWFATX6avdwH1eDgE9dfURAhDYkFzfqqAV_mea7fkesd2x-_lEIlnfOB43FP_6Y0LDw_Mju6V7K_ELMc5mGqeOeuYNeiV4aLeYiEEAZGXz3WRX1QsD5KKmQ', 'token_type': 'Bearer', 'expires_in': 7199}
4AccessTokenResponse
{
    "access_token": "scX0q4JSpdGLO0YQER6bYsp81N5IVBqoGdGYrHgO",
    "expires_in": 7199,
    "grant_id": "b1b233bc-24d7-405a-95de-4e19bbf64183",
    "id_token": {
        "acr": "urn:ibm:security:policy:id:1",
        "at_hash": "VVCraTRnDHD7fXyjnuVYJQ",
        "aud": [
            "5525f670-e6b3-41a9-afec-add4254aff3b"
        ],
        "displayName": "Geetha D",
        "email": "geethanjali.d@ibm.com",
        "exp": 1568196938,
        "ext": {
            "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
        },
        "family_name": "D",
        "given_name": "Geetha",
        "groupIds": [
            "allUsers",
            "admin"
        ],
        "iat": 1568189738,
        "iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
        "name": "Geetha D",
        "nonce": "bCMtliVDb0e1RDSx",
        "preferred_username": "geethanjali.d@ibm.com",
        "realmName": "cloudIdentityRealm",
        "s_hash": "l8rR4T21lKhTmK6VClLpKw",
        "sub": "640004KG4P",
        "tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
        "uid": "640004KG4P",
        "uniqueSecurityName": "640004KG4P",
        "userType": "regular"
    },
    "scope": "openid",
    "token_type": "Bearer"
}
4jws header{'alg': 'RS256', 'typ': 'JWT', 'kid': 'server'}
4phase<--<-- 5 --- Done -->-->
4end
4assertionUsedAcrValue
4conditionused-acr-value: status=WARNING, message=Used acr value: urn:ibm:security:policy:id:1, preferred: ['1', '2'] [The acr value in the ID Token]
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4conditionDone: status=OK

Result

WARNING
Warnings:
Used acr value: urn:ibm:security:policy:id:1, preferred: ['1', '2']