Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-Response-form_post
Test descriptionRequest with response_mode=form_post
Timestamp2019-04-29T13:11:33Z

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://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_post'], '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_post"
    ],
    "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": "_e5fd0cf0273cde89b56a9ba7dade610d",
    "client_id_issued_at": 1556543489,
    "client_secret": "_926f3bfd811c5fbebd65e6e2ab21bcef",
    "client_secret_expires_at": 1588079489,
    "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_post"
    ],
    "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": "_e5fd0cf0273cde89b56a9ba7dade610d",
    "nonce": "RjHL5qagyrzTv0w0",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_post",
    "response_mode": "form_post",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "UUP5g7hDSUVJkrf6"
}
1redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=UUP5g7hDSUVJkrf6&nonce=RjHL5qagyrzTv0w0&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_post&response_mode=form_post&client_id=_e5fd0cf0273cde89b56a9ba7dade610d
1redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=UUP5g7hDSUVJkrf6&nonce=RjHL5qagyrzTv0w0&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_post&response_mode=form_post&client_id=_e5fd0cf0273cde89b56a9ba7dade610d
5responseForm post
5response{'state': 'UUP5g7hDSUVJkrf6', 'access_token': 'AAdzZWNyZXQxdqqVrBoXgI50sXrRFmXCO0UW-zQ_ka2QR8oDFv9s70fIXbiHBVLnaluBtBwSfa4rwa9GoK_P4qFh2w-u9pkAD6fkkIJPUNDgWvDSYirSIoQFc4mXB0NrSDbhHShny_8QxtMlb3O-3vhchgiAa0rWWeM3trbXaP8C5-c7Q9LV7sXhh5L_DO44nzuAPPEEdVtLCNMKfqvAbvz8J3-j-LPFeGdVP4-jd4p_mlACal1-tpMKLjU-cQoiwbC5mOtOFj2W5nyBzZ3BfZccOW-CSVXDcbIZIpZFZe1hup3A9WRyJA3YWwt4vFlamCTApH_ri6MBIwUPS3LErA6WqbnSqdsSyrqVtlffcTT95DMWV4QM594Teb1p3KcUKhBqbpfqUh8WrxBNKk5D8hyXzhOPib0lkqVICOo6HFnqxuDmfx2OCH-I7_SAfQ-98FzXt3rHWK0mzjqj3btlYZbmI31e5ZZb9WfPqkoTN1I6yeNuTefdiK3hCKbN', 'token_type': 'Bearer', 'id_token': 'eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiMEVjMF9sczNIeHRldDNqT0tkenRpUSIsInN1YiI6IlZVRzQ3NzdZUDNOTVU1S1JGRVNYNlNLUkFQWExFNE1JIiwiYXVkIjoiX2U1ZmQwY2YwMjczY2RlODliNTZhOWJhN2RhZGU2MTBkIiwiYWNyIjoicGFzc3dvcmQiLCJhdXRoX3RpbWUiOjE1NTY1NDMwMTEsImlzcyI6Imh0dHBzOlwvXC90ZXN0b3AuZnVuZXQuZmkiLCJleHAiOjE1NTY1NDcwOTIsImlhdCI6MTU1NjU0MzQ5Miwibm9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6HFnqxuDmfx2OCH-I7_SAfQ-98FzXt3rHWK0mzjqj3btlYZbmI31e5ZZb9WfPqkoTN1I6yeNuTefdiK3hCKbN",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "0Ec0_ls3Hxtet3jOKdztiQ",
        "aud": [
            "_e5fd0cf0273cde89b56a9ba7dade610d"
        ],
        "auth_time": 1556543011,
        "exp": 1556547092,
        "iat": 1556543492,
        "iss": "https://testop.funet.fi",
        "nonce": "RjHL5qagyrzTv0w0",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "UUP5g7hDSUVJkrf6",
    "token_type": "Bearer"
}
5phase<--<-- 4 --- Done -->-->
5end
5assertionVerifyAuthnResponse
5conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
5conditionDone: status=OK

Result

PASSED