Test Info

Test descriptionRequesting ID Token with max_age=10000 seconds restriction
Profile[]
Timestamp2018-05-17T15:38:53Z
Issuerhttps://reference.mobileconnect.io/mobileconnect
Test IDOP-Req-max_age=10000

Conditions


same-authn: status=OK [Verifies that the same authentication was used twice in the flow.]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
claims-check: status=OK [Checks if specific claims is present or not]
auth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
Done: status=OK

Trace Output

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0provider_config
kwargs:{'issuer': 'https://reference.mobileconnect.io/mobileconnect'}
0.355http response
url:https://reference.mobileconnect.io/mobileconnect/.well-known/openid-configuration status_code:200
0.356ProviderConfigurationResponse
{
    "acr_values_supported": [
        "2",
        "3"
    ],
    "authorization_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/auth",
    "check_session_iframe": "https://reference.mobileconnect.io/mobileconnect/opframe.php",
    "claim_types_supported": [
        "normal"
    ],
    "claims_locales_supported": [
        "en-US"
    ],
    "claims_parameter_supported": true,
    "claims_supported": [
        "name",
        "given_name",
        "family_name",
        "middle_name",
        "nickname",
        "preferred_username",
        "profile",
        "picture",
        "website",
        "email",
        "email_verified",
        "gender",
        "birthdate",
        "zoneinfo",
        "locale",
        "phone_number",
        "phone_number_verified",
        "address",
        "updated_at"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "end_session_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/endsession",
    "grant_types_supported": [
        "authorization_code"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "id_token_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "issuer": "https://reference.mobileconnect.io/mobileconnect",
    "jwks_uri": "https://reference.mobileconnect.io/mobileconnect/op.jwk",
    "login_hint_methods_supported": [
        "MSISDN",
        "ENCR_MSISDN",
        "PCR"
    ],
    "mc_atp_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/atp",
    "mobile_connect_version_supported": [
        {
            "openid": "mc_v1.1"
        },
        {
            "openid mc_authn": "mc_v1.2"
        },
        {
            "openid mc_authz": "mc_v1.2"
        },
        {
            "openid mc_identity_phonenumber": "mc_v1.2"
        },
        {
            "openid mc_identity_signup": "mc_v1.2"
        },
        {
            "openid mc_identity_nationalid": "mc_v1.2"
        },
        {
            "openid mc_atp": "mc_v1.2"
        }
    ],
    "op_policy_uri": "https://reference.mobileconnect.io/mobileconnect/index.php/op_policy",
    "op_tos_uri": "https://reference.mobileconnect.io/mobileconnect/index.php/op_tos",
    "premiuminfo_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/premiuminfo",
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_types_supported": [
        "code",
        "code token",
        "code id_token",
        "token",
        "token id_token",
        "code token id_token",
        "id_token"
    ],
    "scopes_supported": [
        "openid",
        "mc_authn",
        "mc_authz",
        "profile",
        "email",
        "address",
        "phone",
        "mc_identity_phonenumber",
        "mc_identity_signup",
        "mc_identity_nationalid",
        "mc_atp"
    ],
    "service_documentation": "https://reference.mobileconnect.io/mobileconnect/index.php/servicedocs",
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "token_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "ui_locales_supported": [
        "en-US"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "userinfo_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "userinfo_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/userinfo",
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "version": "3.0"
}
0.356phase<--<-- 2 --- Registration -->-->
0.356not expected to doDynamic registration
0.357phase<--<-- 3 --- AsyncAuthn -->-->
0.357AuthorizationRequest
{
    "client_id": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
    "nonce": "rWpelZ8FunfElJiY",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "b2JD3vreGpDVUNjA"
}
0.357redirect urlhttps://reference.mobileconnect.io/mobileconnect/index.php/auth?response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid&nonce=rWpelZ8FunfElJiY&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=b2JD3vreGpDVUNjA
0.357redirecthttps://reference.mobileconnect.io/mobileconnect/index.php/auth?response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid&nonce=rWpelZ8FunfElJiY&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=b2JD3vreGpDVUNjA
0.533response{'code': 'kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc', 'state': 'b2JD3vreGpDVUNjA'}
0.534response{'code': 'kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc', 'state': 'b2JD3vreGpDVUNjA'}
0.534AuthorizationResponse
{
    "code": "kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc",
    "state": "b2JD3vreGpDVUNjA"
}
0.534phase<--<-- 4 --- AccessToken -->-->
0.534requestop_args: {'state': 'b2JD3vreGpDVUNjA'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb'}
0.534do_access_token_request
kwargs:{'request_args': {'grant_type': 'authorization_code', 'client_id': '7cf82bd4-71c3-47df-9c49-70fae9c9b142', 'code': 'kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc', 'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb', 'state': 'b2JD3vreGpDVUNjA'}, 'state': 'b2JD3vreGpDVUNjA'}
0.534AccessTokenRequest
{
    "code": "kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "state": "b2JD3vreGpDVUNjA"
}
0.535request_urlhttps://reference.mobileconnect.io/mobileconnect/index.php/token
0.535request_http_args{'headers': {'Authorization': 'Basic N2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyOmNhNmE5ZDVjLTg5OTctNDZmOC05NjQwLTdiNTE5MWQyNGVkZQ==', 'Content-Type': 'application/x-www-form-urlencoded'}}
0.535requestgrant_type=authorization_code&code=kPvRR1OKvE0vk962JO699EynPkn0njEVYns-ZQyjhFc&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&state=b2JD3vreGpDVUNjA
0.935http response
url:https://reference.mobileconnect.io/mobileconnect/index.php/token status_code:200
0.937response{'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IlBIUE9QLTAwIn0.eyJpc3MiOiJodHRwczpcL1wvcmVmZXJlbmNlLm1vYmlsZWNvbm5lY3QuaW9cL21vYmlsZWNvbm5lY3QiLCJzdWIiOiJGM0VFRDU1RC01RTZELTQ4MjktODhBNi1BMzY1MzI1QThBNUMiLCJhdWQiOlsiN2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyIl0sImV4cCI6MTUyNjU3MTgzMiwiaWF0IjoxNTI2NTcxNTMyLCJub25jZSI6InJXcGVsWjhGdW5mRWxKaVkiLCJhdF9oYXNoIjoic1VUYXE3Wml1ODM4alkzZ0FrU3MyZyIsImF1dGhfdGltZSI6MTUyNjU3MTQyOCwiYWNyIjoiMiIsImF6cCI6IjdjZjgyYmQ0LTcxYzMtNDdkZi05YzQ5LTcwZmFlOWM5YjE0MiIsImhhc2hlZF9sb2dpbl9oaW50IjoiZTNiMGM0NDI5OGZjMWMxNDlhZmJmNGM4OTk2ZmI5MjQyN2FlNDFlNDY0OWI5MzRjYTQ5NTk5MWI3ODUyYjg1NSJ9.buiGA-kQ8QwEMEOlMg7_-t_0TArf2KNsdXTupgvoyLq0db1ydIZG9sHNku32YR2bYezuYyjuH03bAps3k-o9ich1WOpBLnESE_WvY9B80EfimNfr-cA-tzJGDXqmYUBTemC3p3EkXBoLyDh9QyphUmafPhzZ9vvSNbUszoiapnc', 'token_type': 'Bearer', 'expires_in': 3600, 'access_token': 'jYG8utmcgDJsSYHp6cYSg1gJhsW082kFQPdGLOO7cMs'}
1.293AccessTokenResponse
{
    "access_token": "jYG8utmcgDJsSYHp6cYSg1gJhsW082kFQPdGLOO7cMs",
    "expires_in": 3600,
    "id_token": {
        "acr": "2",
        "at_hash": "sUTaq7Ziu838jY3gAkSs2g",
        "aud": [
            "7cf82bd4-71c3-47df-9c49-70fae9c9b142"
        ],
        "auth_time": 1526571428,
        "azp": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
        "exp": 1526571832,
        "hashed_login_hint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "iat": 1526571532,
        "iss": "https://reference.mobileconnect.io/mobileconnect",
        "nonce": "rWpelZ8FunfElJiY",
        "sub": "F3EED55D-5E6D-4829-88A6-A365325A8A5C"
    },
    "token_type": "Bearer"
}
1.294phase<--<-- 5 --- AsyncAuthn -->-->
1.294AuthorizationRequest
{
    "client_id": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
    "max_age": 10000,
    "nonce": "BWWIIJOpdvhY12pv",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "KK0nBBx6H4KkEzti"
}
1.294redirect urlhttps://reference.mobileconnect.io/mobileconnect/index.php/auth?max_age=10000&response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid&nonce=BWWIIJOpdvhY12pv&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=KK0nBBx6H4KkEzti
1.294redirecthttps://reference.mobileconnect.io/mobileconnect/index.php/auth?max_age=10000&response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid&nonce=BWWIIJOpdvhY12pv&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=KK0nBBx6H4KkEzti
1.448response{'code': 'Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ', 'state': 'KK0nBBx6H4KkEzti'}
1.449response{'code': 'Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ', 'state': 'KK0nBBx6H4KkEzti'}
1.449AuthorizationResponse
{
    "code": "Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ",
    "state": "KK0nBBx6H4KkEzti"
}
1.449phase<--<-- 6 --- AccessToken -->-->
1.449requestop_args: {'state': 'KK0nBBx6H4KkEzti'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb'}
1.449do_access_token_request
kwargs:{'request_args': {'grant_type': 'authorization_code', 'client_id': '7cf82bd4-71c3-47df-9c49-70fae9c9b142', 'code': 'Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ', 'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb', 'state': 'KK0nBBx6H4KkEzti'}, 'state': 'KK0nBBx6H4KkEzti'}
1.449AccessTokenRequest
{
    "code": "Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "state": "KK0nBBx6H4KkEzti"
}
1.449request_urlhttps://reference.mobileconnect.io/mobileconnect/index.php/token
1.449request_http_args{'headers': {'Authorization': 'Basic N2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyOmNhNmE5ZDVjLTg5OTctNDZmOC05NjQwLTdiNTE5MWQyNGVkZQ==', 'Content-Type': 'application/x-www-form-urlencoded'}}
1.449requestgrant_type=authorization_code&code=Hm2U6Z6SP6JEcCeg8aV2zTp1zdIdxTK5QCk8o8zK8GQ&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&state=KK0nBBx6H4KkEzti
1.847http response
url:https://reference.mobileconnect.io/mobileconnect/index.php/token status_code:200
1.849response{'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IlBIUE9QLTAwIn0.eyJpc3MiOiJodHRwczpcL1wvcmVmZXJlbmNlLm1vYmlsZWNvbm5lY3QuaW9cL21vYmlsZWNvbm5lY3QiLCJzdWIiOiJGM0VFRDU1RC01RTZELTQ4MjktODhBNi1BMzY1MzI1QThBNUMiLCJhdWQiOlsiN2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyIl0sImV4cCI6MTUyNjU3MTgzMywiaWF0IjoxNTI2NTcxNTMzLCJub25jZSI6IkJXV0lJSk9wZHZoWTEycHYiLCJhdF9oYXNoIjoiZ1BxLVJuaDlIMmhhd0k4eng5NmNUdyIsImF1dGhfdGltZSI6MTUyNjU3MTQyOCwiYWNyIjoiMiIsImF6cCI6IjdjZjgyYmQ0LTcxYzMtNDdkZi05YzQ5LTcwZmFlOWM5YjE0MiIsImhhc2hlZF9sb2dpbl9oaW50IjoiZTNiMGM0NDI5OGZjMWMxNDlhZmJmNGM4OTk2ZmI5MjQyN2FlNDFlNDY0OWI5MzRjYTQ5NTk5MWI3ODUyYjg1NSJ9.btTuq_254c0RqStR__a76QlnEAYSzP-nUUMRFADHyyODrfDj_DJlEaPR84K_8qv50Im0Ux05eRoCeFw-aChR5ANXTGZPJJPop6jmI9dYzg5IfMau_qiCxTdmHpihXnI5RcROvx-LoxXINDC4fLkKPRYsX9M3S8cGJubRZcUdUOo', 'token_type': 'Bearer', 'expires_in': 3600, 'access_token': 'ib4eQEr3N-WojMnXecLdCNjXMksl5vMvygJi9-taw1w'}
1.851AccessTokenResponse
{
    "access_token": "ib4eQEr3N-WojMnXecLdCNjXMksl5vMvygJi9-taw1w",
    "expires_in": 3600,
    "id_token": {
        "acr": "2",
        "at_hash": "gPq-Rnh9H2hawI8zx96cTw",
        "aud": [
            "7cf82bd4-71c3-47df-9c49-70fae9c9b142"
        ],
        "auth_time": 1526571428,
        "azp": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
        "exp": 1526571833,
        "hashed_login_hint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "iat": 1526571533,
        "iss": "https://reference.mobileconnect.io/mobileconnect",
        "nonce": "BWWIIJOpdvhY12pv",
        "sub": "F3EED55D-5E6D-4829-88A6-A365325A8A5C"
    },
    "token_type": "Bearer"
}
1.851phase<--<-- 7 --- Done -->-->
1.851end
1.851assertionSameAuthn
1.851conditionsame-authn: status=OK [Verifies that the same authentication was used twice in the flow.]
1.852assertionVerifyResponse
1.852conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
1.852assertionClaimsCheck
1.852conditionclaims-check: status=OK [Checks if specific claims is present or not]
1.852assertionAuthTimeCheck
1.852conditionauth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
1.852conditionDone: status=OK

Result

PASSED