ory-am/hydra

View on GitHub
internal/certification/I.F.T.T.s/OP-IDToken-C-Signature.txt

Summary

Maintainability
Test Coverage
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-IDToken-C-Signature
Test description: Does the OP sign the ID Token and with what
Timestamp: 2018-06-23T11:27:23Z

============================================================

Trace output

0.0 phase <--<-- 0 --- Webfinger -->-->
0.0 not expected to do WebFinger
0.0 phase <--<-- 1 --- Discovery -->-->
0.0 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
0.073 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.074 ProviderConfigurationResponse {
    "authorization_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/auth",
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub"
    ],
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "client_credentials",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidc-certification.ory.sh:8443/",
    "jwks_uri": "https://oidc-certification.ory.sh:8443/.well-known/jwks.json",
    "registration_endpoint": "https://oidc-certification.ory.sh:8443/clients",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query",
        "fragment"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "id_token",
        "token id_token",
        "token",
        "token id_token code"
    ],
    "scopes_supported": [
        "offline",
        "openid"
    ],
    "subject_types_supported": [
        "pairwise",
        "public"
    ],
    "token_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic",
        "private_key_jwt",
        "none"
    ],
    "userinfo_endpoint": "https://oidc-certification.ory.sh:8443/userinfo",
    "userinfo_signing_alg_values_supported": [
        "none",
        "RS256"
    ],
    "version": "3.0"
}
0.074 phase <--<-- 2 --- Registration -->-->
0.074 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['id_token'], 'contacts': ['roland@example.com'], 'redirect_uris': ['https://op.certification.openid.net:61353/authz_cb'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61353/logout'], 'jwks_uri': 'https://op.certification.openid.net:61353/static/jwks_61353.json', 'grant_types': ['implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
0.074 RegistrationRequest {
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61353/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#7TZRzTkxBMg2El4J"
    ],
    "response_types": [
        "id_token"
    ]
}
0.276 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.277 RegistrationResponse {
    "client_id": "080a936c-3a62-468a-aed3-f9d63363e1b5",
    "client_secret": "UTAoHi0M7sid",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "080a936c-3a62-468a-aed3-f9d63363e1b5",
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "public": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#7TZRzTkxBMg2El4J"
    ],
    "response_types": [
        "id_token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
0.277 phase <--<-- 3 --- AsyncAuthn -->-->
0.278 AuthorizationRequest {
    "client_id": "080a936c-3a62-468a-aed3-f9d63363e1b5",
    "nonce": "zJDpC75FiJnuuzNN",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "Z90VwTNosGIB7lR3"
}
0.278 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=080a936c-3a62-468a-aed3-f9d63363e1b5&state=Z90VwTNosGIB7lR3&response_type=id_token&nonce=zJDpC75FiJnuuzNN
0.278 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=080a936c-3a62-468a-aed3-f9d63363e1b5&state=Z90VwTNosGIB7lR3&response_type=id_token&nonce=zJDpC75FiJnuuzNN
2.346 http args {}
2.53 response URL with fragment
2.531 response id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowNWMyNDc4ZC02M2VkLTQ3YzgtYWQ5Mi03NTE4MWE1NjdmYTAiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiMDgwYTkzNmMtM2E2Mi00NjhhLWFlZDMtZjlkNjMzNjNlMWI1Il0sImF1dGhfdGltZSI6MTUyOTc1MzEzNiwiZXhwIjoxNTI5NzU2ODQzLCJpYXQiOjE1Mjk3NTMyNDMsImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6IjRlMzM1OThlLTIyYWItNGVhNy1hNjBiLTE0NDg2NGYxNTlkMyIsIm5vbmNlIjoiekpEcEM3NUZpSm51dXpOTiIsInJhdCI6MTUyOTc1MzI0MSwic3ViIjoiZm9vQGJhci5jb20ifQ.FRxNNp-QtcKEjGjN2NonWPcfPsl5Zm-n31VqfcG0HKrcVXSg32MW_bVoepXryvp5F-nv_eCMuVz7qJ4NC7dlgF01BODczk-X8P1J3C-GZh0mee-TqqwjkfwWiiffiiEw-zTTzsXbr0oLMNw_RFLW1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HKrcVXSg32MW_bVoepXryvp5F-nv_eCMuVz7qJ4NC7dlgF01BODczk-X8P1J3C-GZh0mee-TqqwjkfwWiiffiiEw-zTTzsXbr0oLMNw_RFLW1KqJtLaofWC9dhqWmUmaPKSO4bV5DyNACSoY89EWYmOS17XE6axSx2tufsCJPSwjPIPsZ2dMV6LXeJHb_05d_E8fTMnqMJ9rL2wNwRwfgf4aYRjuyhg3sjN61DXERi0PSfeUFxQa08SvC8yv15FxUMWxjpDVvvWM_rV7ybxTUOgaSQ44qzZ-HkvSc4P4VT35mzPwHuZtc2NtF6e6Vvf2dEFlPvSJ_-LJGyWdEYukYj0cvhItG54e__na1pYI6drmhzj5BYbvvKVYqJ0RCuqaCOllRSU1QsOKaqZcTC17LgdGQK3zwqBmKRRizeablvo4bNlTNOsQNbEAVC0hStdemsbFu1yldorBq2LCpSSe_ZAou9B3jbLmMTDyf1h0fJnUHTwT90l0NGWa4EoRdk-DLgJiIBs8ym6dQAOPGwiCB-cAMWZ9_jod1G89SvnhhqRofCBGeaSWGmIbTMBZgEVRYvSbqgzy8dG1J91ySjkOb2pmV34ZCQUyo3dC63miKcdpoD0vj5ND62adoyCFI5XXm5E', 'state': 'Z90VwTNosGIB7lR3'}
2.611 AuthorizationResponse {
    "id_token": {
        "aud": [
            "080a936c-3a62-468a-aed3-f9d63363e1b5"
        ],
        "auth_time": 1529753136,
        "exp": 1529756843,
        "iat": 1529753243,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "4e33598e-22ab-4ea7-a60b-144864f159d3",
        "nonce": "zJDpC75FiJnuuzNN",
        "rat": 1529753241,
        "sub": "foo@bar.com"
    },
    "state": "Z90VwTNosGIB7lR3"
}
2.612 phase <--<-- 4 --- AccessToken -->-->
2.612 phase <--<-- 5 --- Done -->-->
2.612 end 
2.612 assertion VerifyResponse
2.612 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.613 assertion IsIDTokenSigned
2.613 condition is-idtoken-signed: status=OK [Checks if the id_token is signed]
2.613 condition Done: status=OK



============================================================

Conditions

verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
Done: status=OK



============================================================

RESULT: PASSED