Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-claims-IDToken
Test descriptionRequesting ID Token with email claim
Timestamp2019-04-29T13:23:22Z

Conditions


verify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
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'}
1http response
url:https://testop.funet.fi/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1register
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'}
1RegistrationRequest
{
    "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"
}
2http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
2RegistrationResponse
{
    "application_type": "web",
    "client_id": "_322a6987f7b5f73dab8db65f82513292",
    "client_id_issued_at": 1556544199,
    "client_secret": "_9f7f4bd7ad912a16e6ffdc7e843ada53",
    "client_secret_expires_at": 1588080199,
    "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"
}
2phase<--<-- 3 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "claims": {
        "id_token": {
            "email": {
                "essential": true
            }
        }
    },
    "client_id": "_322a6987f7b5f73dab8db65f82513292",
    "nonce": "nqNL9OjegEAtxPh7",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "ABA1ULb5z0XKEFUA"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=ABA1ULb5z0XKEFUA&nonce=nqNL9OjegEAtxPh7&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&claims=%7B%22id_token%22%3A+%7B%22email%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=_322a6987f7b5f73dab8db65f82513292
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=ABA1ULb5z0XKEFUA&nonce=nqNL9OjegEAtxPh7&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&claims=%7B%22id_token%22%3A+%7B%22email%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=_322a6987f7b5f73dab8db65f82513292
5http args{}
5responseURL with fragment
5responseaccess_token=AAdzZWNyZXQxZEDKjtcVrLc8sDYw0HkRmvDp3eDGtkbVWKExar80NfKQM_-BkNDMwHEBlTKdq6YYpAViSYnoJCOX3lLsDxnC-zB9v0J9kAckAySRpMS6-RqeCiauWKyfLWEMtHEzogr6FRvFE3MB2_ZpitLtxK8pSSoIjimS5ivnoDFFr1N295Q67hR-d79d2Ry2GgwIPbXB92rFk8_Ay6qRiyGY4mF1_GEXV0qjUt2B9lUAtbiAFdP4nu0tYgiwqaSvbh6R3Y36euO84Q3cc0NWe1sHm22C4zo4iZ545tj0CagtbbSP5wcotuNm6OA51qDrNph9O7an4Z1b8OwVcziDvYbOAHtDhDICFgDPEa2ekd-ANf_5J4IPoBLciou0Hd4qUM-i2Ym_kU6Lg3PsiTfdW9P2gRvf84rczBa0Drbf_hv1WzATN4AJZCdqAL9lG0P4IO4aXSvb2K36mtBHEm4XnHDbBgpA4pxzIsj5p7HAMGdHvZXhEHK9JJonL1-5wHlMr-8E_IhB1MdPAnx-Q5AX5iG30qCFO0EhwxdcUxR7L_o&id_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoic2xFWHRnZGZYaFhwWFRKUW9TS0lmQSIsInN1YiI6IlZVRzQ3NzdZUDNOTVU1S1JGRVNYNlNLUkFQWExFNE1JIiwiYXVkIjoiXzMyMmE2OTg3ZjdiN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noJCOX3lLsDxnC-zB9v0J9kAckAySRpMS6-RqeCiauWKyfLWEMtHEzogr6FRvFE3MB2_ZpitLtxK8pSSoIjimS5ivnoDFFr1N295Q67hR-d79d2Ry2GgwIPbXB92rFk8_Ay6qRiyGY4mF1_GEXV0qjUt2B9lUAtbiAFdP4nu0tYgiwqaSvbh6R3Y36euO84Q3cc0NWe1sHm22C4zo4iZ545tj0CagtbbSP5wcotuNm6OA51qDrNph9O7an4Z1b8OwVcziDvYbOAHtDhDICFgDPEa2ekd-ANf_5J4IPoBLciou0Hd4qUM-i2Ym_kU6Lg3PsiTfdW9P2gRvf84rczBa0Drbf_hv1WzATN4AJZCdqAL9lG0P4IO4aXSvb2K36mtBHEm4XnHDbBgpA4pxzIsj5p7HAMGdHvZXhEHK9JJonL1-5wHlMr-8E_IhB1MdPAnx-Q5AX5iG30qCFO0EhwxdcUxR7L_o",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "slEXtgdfXhXpXTJQoSKIfA",
        "aud": [
            "_322a6987f7b5f73dab8db65f82513292"
        ],
        "auth_time": 1556543011,
        "email": "teppo@example.org",
        "exp": 1556547802,
        "iat": 1556544202,
        "iss": "https://testop.funet.fi",
        "nonce": "nqNL9OjegEAtxPh7",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "ABA1ULb5z0XKEFUA",
    "token_type": "Bearer"
}
5phase<--<-- 4 --- AccessToken -->-->
5phase<--<-- 5 --- Done -->-->
5end
5assertionVerifyClaims
5conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
5assertionVerifyResponse
5conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5conditionDone: status=OK

Result

PASSED