ory-am/hydra

View on GitHub
internal/certification/CI.F.T.T.s/OP-Req-login_hint.txt

Summary

Maintainability
Test Coverage
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Req-login_hint
Test description: Providing login_hint
Timestamp: 2018-06-23T10:56:39Z

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

Trace output

0.0 phase <--<-- 0 --- VerifyConfiguration -->-->
0.0 phase <--<-- 1 --- Note -->-->
1.393 phase <--<-- 2 --- Webfinger -->-->
1.393 not expected to do WebFinger
1.393 phase <--<-- 3 --- Discovery -->-->
1.393 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
1.467 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
1.468 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"
}
1.468 phase <--<-- 4 --- Registration -->-->
1.468 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['code 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': ['authorization_code', 'implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
1.469 RegistrationRequest {
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "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#SnPpwNgsOvxWaVu1"
    ],
    "response_types": [
        "code id_token"
    ]
}
1.63 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
1.631 RegistrationResponse {
    "client_id": "ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5",
    "client_secret": "YR.tG1MuYyIu",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5",
    "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#SnPpwNgsOvxWaVu1"
    ],
    "response_types": [
        "code id_token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
1.631 phase <--<-- 5 --- AsyncAuthn -->-->
1.632 AuthorizationRequest {
    "client_id": "ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5",
    "login_hint": "foo@bar.com",
    "nonce": "URflupe1MrGLwQrB",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "ijpFV6duPLbt4rlh"
}
1.632 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=ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5&state=ijpFV6duPLbt4rlh&response_type=code+id_token&nonce=URflupe1MrGLwQrB&login_hint=foo%40bar.com
1.632 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=ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5&state=ijpFV6duPLbt4rlh&response_type=code+id_token&nonce=URflupe1MrGLwQrB&login_hint=foo%40bar.com
6.997 http args {}
7.178 response URL with fragment
7.178 response code=FGCX4YA_aMB1hailcO6TshJirdnC31Zy0vx78yRATlw.KEzwP0BNQdX7AY8f0T2RRr04js7JsTes9nB9t0tWw8w&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiZWUyN2FkZjUtZjkzMy00MmE1LTllMWEtYmY2Y2E1Y2FjM2U1Il0sImF1dGhfdGltZSI6MTUyOTc1MTM5NiwiY19oYXNoIjoiVm1kdXdPemR4VklvLW5PRXFBdTZDQSIsImV4cCI6MTUyOTc1NDk5OSwiaWF0IjoxNTI5NzUxMzk5LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJmNDNmNDI2OC04Mz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GCX4YA_aMB1hailcO6TshJirdnC31Zy0vx78yRATlw.KEzwP0BNQdX7AY8f0T2RRr04js7JsTes9nB9t0tWw8w",
    "id_token": {
        "aud": [
            "ee27adf5-f933-42a5-9e1a-bf6ca5cac3e5"
        ],
        "auth_time": 1529751396,
        "c_hash": "VmduwOzdxVIo-nOEqAu6CA",
        "exp": 1529754999,
        "iat": 1529751399,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "f43f4268-8348-4f22-9895-bcc33892e980",
        "nonce": "URflupe1MrGLwQrB",
        "rat": 1529751394,
        "sub": "foo@bar.com"
    },
    "state": "ijpFV6duPLbt4rlh"
}
7.275 phase <--<-- 6 --- Done -->-->
7.275 end 
7.275 assertion VerifyAuthnResponse
7.275 condition verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
7.275 condition Done: status=OK



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

Conditions

verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK



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

RESULT: PASSED