ory-am/hydra

View on GitHub
internal/certification/IT.F.T.T.s/OP-display-popup.txt

Summary

Maintainability
Test Coverage
Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-display-popup
Test description: Request with display=popup
Timestamp: 2018-06-23T11:23:11Z

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

Trace output

0.0 phase <--<-- 0 --- Note -->-->
1.254 phase <--<-- 1 --- Webfinger -->-->
1.254 not expected to do WebFinger
1.254 phase <--<-- 2 --- Discovery -->-->
1.254 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
1.363 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
1.364 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.364 phase <--<-- 3 --- Registration -->-->
1.364 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['id_token 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'}
1.365 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#iFAYpU9RBkDoWhPm"
    ],
    "response_types": [
        "id_token token"
    ]
}
1.523 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
1.524 RegistrationResponse {
    "client_id": "f8925b67-7722-4e28-8e6e-05eabac15c0c",
    "client_secret": "CWfWp_mQE6fk",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "f8925b67-7722-4e28-8e6e-05eabac15c0c",
    "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#iFAYpU9RBkDoWhPm"
    ],
    "response_types": [
        "id_token token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
1.524 phase <--<-- 4 --- AsyncAuthn -->-->
1.525 AuthorizationRequest {
    "client_id": "f8925b67-7722-4e28-8e6e-05eabac15c0c",
    "display": "popup",
    "nonce": "6h3mpd697pAQFE0G",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "2loLkZePAqdzI0xA"
}
1.525 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=f8925b67-7722-4e28-8e6e-05eabac15c0c&state=2loLkZePAqdzI0xA&response_type=id_token+token&nonce=6h3mpd697pAQFE0G&display=popup
1.525 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=f8925b67-7722-4e28-8e6e-05eabac15c0c&state=2loLkZePAqdzI0xA&response_type=id_token+token&nonce=6h3mpd697pAQFE0G&display=popup
4.521 http args {}
4.691 response URL with fragment
4.691 response access_token=hb2LVqeBctnj-TD4KHbZpF3F19tDGO2TD3dJGaJwhUQ.4w9ih93caS5a-hkm31IXhCJg1_d5rlTTp4MNAnjRUcA&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoibFJpQnhXbEtCUy14WWFkcGtFZXZ0QSIsImF1ZCI6WyJmODkyNWI2Ny03NzIyLTRlMjgtOGU2ZS0wNWVhYmFjMTVjMGMiXSwiYXV0aF90aW1lIjoxNTI5NzUyODIwLCJleHAiOjE1Mjk3NTY1OTEsImlhdCI6MTUyOTc1Mjk5MSwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiOWFhZDBkMTEtMzM3YS00Y2ZkLTkxMTctMmIzZTU4NjM4OTdlIiwibm9uY2UiOiI2aDNtcGQ2OTdwQVFGRTBHIiwicmF0IjoxNTI5NzUyO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HM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiOWFhZDBkMTEtMzM3YS00Y2ZkLTkxMTctMmIzZTU4NjM4OTdlIiwibm9uY2UiOiI2aDNtcGQ2OTdwQVFGRTBHIiwicmF0IjoxNTI5NzUyOTg4LCJzdWIiOiJmb29AYmFyLmNvbSJ9.mriBmR1kC7GMqvVOTxjlNbpJDGnNAQ-tft5acR3yJ1ZVIv-qW36OIuNi-y7-9aW3M7gTuQkHAYtGeOh0--U3zcv8Dy77psUd4yuyBZ003AyT-aMnYVerk1Bp40tloKMWrOBgvty6H7aIA-ZkB34Y8we2Y7j9KG2sEHZfZ3hQ4Jpw11aZFuHwS8A2giGddxfy-Z6StNudo2VaQgFGSRkC8acLzis7sSVVgkQBBRaw59V9OsvCPrnJsgkIDLsy50In9UrHRw3Y62Fo1RsQbOnMdXMEWWUsZCGj01co6o7ilay9x9PqRQJr__8Fi-PnOfiz_w_dZb4Xm5kvvnyjGSkdSrRKVDaka1Cns-ws-FRXvKWr_dztQjEhQ_X8Pynhz7dCpXRgbCqkPLY58bcWiW5vYgeDaFiQackuL_IAysOKwrxo1c5C4WONjpcTkAVIuWoutrSZ-fcqabqg_zH2zrzOSIWk9HPAJealu8daFx2XRpFCvCtpWSvWU3_tWK7e-hxQgklOZRVIh1ydbcXki1tbKle8be1dvsepdDdL17iRpqln0NN4GdCiBw-txGJnEZoaU87cnvQ_HpR3Xi9w2w8gv0otCTo2uMldyHeNidDfoODrZc48ZYhYpxvxO-JzQ-t7AbAyDgysc--ENfvto7lQqxMPvo1bn5_6NhPslmY2Tm4', 'scope': 'openid', 'access_token': 'hb2LVqeBctnj-TD4KHbZpF3F19tDGO2TD3dJGaJwhUQ.4w9ih93caS5a-hkm31IXhCJg1_d5rlTTp4MNAnjRUcA', 'state': '2loLkZePAqdzI0xA', 'expires_in': 3599, 'token_type': 'bearer'}
4.77 AuthorizationResponse {
    "access_token": "hb2LVqeBctnj-TD4KHbZpF3F19tDGO2TD3dJGaJwhUQ.4w9ih93caS5a-hkm31IXhCJg1_d5rlTTp4MNAnjRUcA",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "lRiBxWlKBS-xYadpkEevtA",
        "aud": [
            "f8925b67-7722-4e28-8e6e-05eabac15c0c"
        ],
        "auth_time": 1529752820,
        "exp": 1529756591,
        "iat": 1529752991,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "9aad0d11-337a-4cfd-9117-2b3e5863897e",
        "nonce": "6h3mpd697pAQFE0G",
        "rat": 1529752988,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "2loLkZePAqdzI0xA",
    "token_type": "bearer"
}
4.77 phase <--<-- 5 --- Done -->-->
4.77 end 
4.773 assertion VerifyResponse
4.773 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4.773 condition Done: status=OK



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

Conditions

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



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

RESULT: PASSED