Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Response-form_post
Test descriptionRequest with response_mode=form_post
Timestamp2019-06-17T15:03:11Z

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://isamfed.com:30443/test'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA-OAEP-256"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['code id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61737/authz_post'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61737/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61737/static/jwks_61737.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_post"
    ],
    "response_types": [
        "code id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "fmePFJPQzJkI3HTBEE3I",
    "client_id_issued_at": 1560783788,
    "client_secret": "OhIRtOPgTVXqhRg7qJvw",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_post"
    ],
    "registration_access_token": "mzy9GkgtYLTZnYGLVCud",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=fmePFJPQzJkI3HTBEE3I",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "fmePFJPQzJkI3HTBEE3I",
    "nonce": "W6j2BffD6mC9S4h3",
    "redirect_uri": "https://op.certification.openid.net:61737/authz_post",
    "response_mode": "form_post",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "1qFd1AOl5RBgWHjM"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1qFd1AOl5RBgWHjM&nonce=W6j2BffD6mC9S4h3&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_post&response_mode=form_post&client_id=fmePFJPQzJkI3HTBEE3I
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1qFd1AOl5RBgWHjM&nonce=W6j2BffD6mC9S4h3&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_post&response_mode=form_post&client_id=fmePFJPQzJkI3HTBEE3I
3responseForm post
3response{'access_token': 'QigCE2jKThMdyktv90Me', 'code': 'URem5f7qoE7Nim1vsifIpQ07vYsrgY', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXF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0nJ880KZu4p2pzHEP_jgYAtp2OKnQKW7S5De9XESztaAQc2maTI0Ixxx-_GrAdnompoxQlc_uCNMGmMGaBTW5wAyh7Y5a7B1VSBqittcvTKLDejSrnN8DXVfXQt10P-R1xXfNPwKq92uqx-UBw93RTAXSQCBy2eB14ZcVHN4Hf4ta7SBncPUFJaCq_wWWpOT1ZONCxjrhxo90ZPPtZbm3TkwdcW4KbAYmtW5sLCbqbJ9G8ncW7IDjl446yUPwhcDp5NCZNXJC79chqt7eiUbSm-v6Q9nI8sW6E52lEsvWQSXyK9MBzbZMIhQSmFRzuFgq2LR5QDKxPSHRadR-fum_6DVw.cxxlGaptAUlDzlk5F84EAw', 'state': '1qFd1AOl5RBgWHjM', 'token_type': 'bearer', 'expires_in': '3599'}
3response{'access_token': 'QigCE2jKThMdyktv90Me', 'code': 'URem5f7qoE7Nim1vsifIpQ07vYsrgY', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.JCIuQ94JT_SYY4hO_o0N3WKnYLbsUtDN0HcpZdPEg6FHt1PSFFPk1HtR6yxSaP_SNf1oGqmBLKLuwKezqQcUxEuzrdaFbPDjpWN44iqwWBxED7qml4S-IWV8eEnm5lngOyHox9XQz7f8S5ClpArRUW9hY86H3TYPVR-CBBNJsBpN6lH-Cv0CjKgRhOTmx68df8xi2YFNCcHPxaeSUDCziSR_LqouCrS_1Ie5XoA3-TEE3FuJVDTs9v4G0fR21fMjAnmTno95Y7ft4RKc9H7_bCL0RxA1S3MgXH9nMcY_LTMmfy3Wj8x_M_ctQRnVAEduedHcM1uX2ic5jY2H3vDEsA.0gDkqgsNDmFDwrK-3G5pyA.i9d58sHBc0sTu2jAb0ePJVr2Hw2n2SDqta1jWC_NC5IIm-0zl3hThco0QH52HNJGMYR6CXzU9140KVN7lpNs3osgPeH6tZt6Tf4SJx5qudoOoAlqEFNnXG-bpVbUTH1Ll2OCyWBr8ALudy7Kpb9EaueO8RvlsDqQOE6-t50XAhags-mn4bu2_dTv4-CWScBQ6-akHEiKNzbb4dVHEgNuyk-gqmUMY9zdxPQlTjR2zV1vohENq1VDl70-LTHWE654NpRKA9oQ3FF8FzylGbpfsY3KmvOlVzv3qm6SxrWkuzT5-UbD2jkXqa3Zb2Kx0J2CiKXlN4Osk9VYZkjrKLADpuUFxsW4YQeMIcinJ4UOdY6ABfTvWt4KzwY4WRkcmRfrFfGDRoCk1oMtBqTbPb2O_oiMzRt5hTGI4O3Q76HxWpTitsp0671RAtZVCfVFTldv7_ifc2b1TE_dCtD15uvl_1F0LD09K-3zdqTCUq7JJCc8z4B6LbopA2ZFaqIN-8wchdGuYjC6N1jp2xNpKiOe1xerdY2I7tGFILsGDsptr95nZEXpCcO6E6wGgznteoprKHnyG_WyPuCjfL-C72xXc2AAdlMpeFcl6h9ceOBUeWKMkTU3SLcqqr2glb3Kt0nJ880KZu4p2pzHEP_jgYAtp2OKnQKW7S5De9XESztaAQc2maTI0Ixxx-_GrAdnompoxQlc_uCNMGmMGaBTW5wAyh7Y5a7B1VSBqittcvTKLDejSrnN8DXVfXQt10P-R1xXfNPwKq92uqx-UBw93RTAXSQCBy2eB14ZcVHN4Hf4ta7SBncPUFJaCq_wWWpOT1ZONCxjrhxo90ZPPtZbm3TkwdcW4KbAYmtW5sLCbqbJ9G8ncW7IDjl446yUPwhcDp5NCZNXJC79chqt7eiUbSm-v6Q9nI8sW6E52lEsvWQSXyK9MBzbZMIhQSmFRzuFgq2LR5QDKxPSHRadR-fum_6DVw.cxxlGaptAUlDzlk5F84EAw', 'state': '1qFd1AOl5RBgWHjM', 'token_type': 'bearer', 'expires_in': 3599}
3AuthorizationResponse
{
    "access_token": "QigCE2jKThMdyktv90Me",
    "code": "URem5f7qoE7Nim1vsifIpQ07vYsrgY",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "q4DTbXugQ8yLV2NYkLo27g",
        "aud": [
            "fmePFJPQzJkI3HTBEE3I"
        ],
        "c_hash": "mGCyvIGPIVRO1jZpVDptQw",
        "exp": 1560787209,
        "iat": 1560783789,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "W6j2BffD6mC9S4h3",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "1qFd1AOl5RBgWHjM",
    "token_type": "bearer"
}
3phase<--<-- 4 --- Done -->-->
3end
3assertionVerifyAuthnResponse
3conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
3conditionDone: status=OK

Result

PASSED