Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2019-04-29T13:35:58Z

Conditions


verify-scopes: status=OK [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://testop.funet.fi'}
0http response
url:https://testop.funet.fi/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://testop.funet.fi/idp/profile/oidc/authorize",
    "claims_parameter_supported": true,
    "claims_supported": [
        "aud",
        "iss",
        "sub",
        "iat",
        "exp",
        "acr",
        "auth_time",
        "email",
        "email_verified",
        "address",
        "phone",
        "phone_number_verified",
        "name",
        "family_name",
        "given_name",
        "middle_name",
        "nickname",
        "preferred_username",
        "profile",
        "picture",
        "website",
        "gender",
        "birthdate",
        "zoneinfo",
        "locale",
        "updated_at"
    ],
    "display_values_supported": [
        "page"
    ],
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256"
    ],
    "issuer": "https://testop.funet.fi",
    "jwks_uri": "https://testop.funet.fi/idp/profile/oidc/keyset",
    "registration_endpoint": "https://testop.funet.fi/idp/profile/oidc/register",
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "query",
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "code",
        "id_token",
        "token id_token",
        "code id_token",
        "code token",
        "code token id_token"
    ],
    "scopes_supported": [
        "openid",
        "profile",
        "email",
        "address",
        "phone",
        "offline_access"
    ],
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "token_endpoint": "https://testop.funet.fi/idp/profile/oidc/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "userinfo_endpoint": "https://testop.funet.fi/idp/profile/oidc/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:60028/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:60028/logout'], 'url': 'https://testop.funet.fi/idp/profile/oidc/register', 'jwks_uri': 'https://op.certification.openid.net:60028/static/jwks_60028.json', 'token_endpoint_auth_method': 'client_secret_basic'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:60028/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "client_secret_basic"
}
1http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "_4d80afec025683d21031ef39224872f8",
    "client_id_issued_at": 1556544953,
    "client_secret": "_9bc888dc4f37c807d1298db71b50fae0",
    "client_secret_expires_at": 1588080953,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id_token_signed_response_alg": "RS256",
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "scope": "openid profile email address phone offline_access",
    "subject_type": "public",
    "tls_client_certificate_bound_access_tokens": false,
    "token_endpoint_auth_method": "client_secret_basic"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "_4d80afec025683d21031ef39224872f8",
    "nonce": "iSQOByuIbGvqWXsQ",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token token",
    "scope": "openid phone",
    "state": "k9O6Eb91dNUOF1zr"
}
1redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=k9O6Eb91dNUOF1zr&nonce=iSQOByuIbGvqWXsQ&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_4d80afec025683d21031ef39224872f8
1redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=k9O6Eb91dNUOF1zr&nonce=iSQOByuIbGvqWXsQ&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_4d80afec025683d21031ef39224872f8
4http args{}
4responseURL with fragment
4responseaccess_token=AAdzZWNyZXQxv6ZiPbeth7ZRw_V0cO7QHkv8GQCVhkueLg_M2XpnEuSUqPW9uucODf03LG05Z4LnEEQunztsnJhF2fLkOCzaxaKjvqVU3D3NbyW0bKJlTa8uN_b-LbJODO4XEKSHXHyySelr0ulUWCwBED5OJ3XWlq5zh4VS-lv7_vqf7Tgms5luZUc-pvul2PCxcDcLgOZM97jYVjTVkOvpcVNV6iRisIJDl3aFXCwp3hqC2fC7iKQAABe8qonCP_j71F47tKCDmFBft_4Ltl8oCjVWp3xWcvzLhck8MW_jJBvufJx1OeWuq4uuR0MK2FdUnq6qBPVAoXanHnFu-ZPxH2mhYZ5x3PAZCSVIeRwmDZ8lHz9cfAK2KDGzkYfrI92q73XGQ23S5KDHNHJe2tJEhBUW4-fS43R_PvGLD2thUNYY61le7NTPtp_GPM-R9rUa8f0A-EZsXEVl3yu5667dThOg6-on6QOfX73aORIM_QF4ZeOGBU7h7TyaWtdK6C3DOVrHGZyDbIlC-sUW0Go&id_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiOW8zNmFVR3N3ZllHREQ2T01XcG5ydyIsInN1YiI6IlZVRzQ3NzdZUDNOTVU1S1JGRVNYNlNLUkFQWExFNE1JIiwiYXVkIjoiXzRkODBhZmVjMDI1NjgzZDIxMDMxZWYzOTIyNDg3MmY4IiwiYWNyIjoicGFzc3dvcmQiLCJhdXRoX3RpbWUiOjE1NTY1NDQ1MDEsImlzcyI6Imh0dHBzOlwvXC90ZXN0b3AuZnVuZXQuZmkiLCJleHAiOjE1NTY1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dUnq6qBPVAoXanHnFu-ZPxH2mhYZ5x3PAZCSVIeRwmDZ8lHz9cfAK2KDGzkYfrI92q73XGQ23S5KDHNHJe2tJEhBUW4-fS43R_PvGLD2thUNYY61le7NTPtp_GPM-R9rUa8f0A-EZsXEVl3yu5667dThOg6-on6QOfX73aORIM_QF4ZeOGBU7h7TyaWtdK6C3DOVrHGZyDbIlC-sUW0Go",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "9o36aUGswfYGDD6OMWpnrw",
        "aud": [
            "_4d80afec025683d21031ef39224872f8"
        ],
        "auth_time": 1556544501,
        "exp": 1556548556,
        "iat": 1556544956,
        "iss": "https://testop.funet.fi",
        "nonce": "iSQOByuIbGvqWXsQ",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "k9O6Eb91dNUOF1zr",
    "token_type": "Bearer"
}
5phase<--<-- 4 --- AccessToken -->-->
5phase<--<-- 5 --- UserInfo -->-->
5do_user_info_request
kwargs:{'state': 'k9O6Eb91dNUOF1zr', 'method': 'GET', 'authn_method': 'bearer_header'}
5request{'body': None}
5request_urlhttps://testop.funet.fi/idp/profile/oidc/userinfo
5request_http_args{'headers': {'Authorization': 'Bearer AAdzZWNyZXQxv6ZiPbeth7ZRw_V0cO7QHkv8GQCVhkueLg_M2XpnEuSUqPW9uucODf03LG05Z4LnEEQunztsnJhF2fLkOCzaxaKjvqVU3D3NbyW0bKJlTa8uN_b-LbJODO4XEKSHXHyySelr0ulUWCwBED5OJ3XWlq5zh4VS-lv7_vqf7Tgms5luZUc-pvul2PCxcDcLgOZM97jYVjTVkOvpcVNV6iRisIJDl3aFXCwp3hqC2fC7iKQAABe8qonCP_j71F47tKCDmFBft_4Ltl8oCjVWp3xWcvzLhck8MW_jJBvufJx1OeWuq4uuR0MK2FdUnq6qBPVAoXanHnFu-ZPxH2mhYZ5x3PAZCSVIeRwmDZ8lHz9cfAK2KDGzkYfrI92q73XGQ23S5KDHNHJe2tJEhBUW4-fS43R_PvGLD2thUNYY61le7NTPtp_GPM-R9rUa8f0A-EZsXEVl3yu5667dThOg6-on6QOfX73aORIM_QF4ZeOGBU7h7TyaWtdK6C3DOVrHGZyDbIlC-sUW0Go'}}
6http response
url:https://testop.funet.fi/idp/profile/oidc/userinfo status_code:200
6OpenIDSchema
{
    "phone_number": "+1 (604) 555-1234;ext=5678",
    "phone_number_verified": true,
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
}
6OpenIDSchema
{
    "phone_number": "+1 (604) 555-1234;ext=5678",
    "phone_number_verified": true,
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
}
6phase<--<-- 6 --- Done -->-->
6end
6assertionVerifyScopes
6conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
6assertionCheckHTTPResponse
6conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
6assertionVerifyResponse
6conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6conditionDone: status=OK

Result

PASSED