Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-scope-profile
Test descriptionScope requesting profile claims
Timestamp2019-04-29T13:36:17Z

Conditions


verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://testop.funet.fi'}
1http response
url:https://testop.funet.fi/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1register
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_cb'], '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'}
1RegistrationRequest
{
    "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_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "client_secret_basic"
}
2http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
2RegistrationResponse
{
    "application_type": "web",
    "client_id": "_be30ec6d2d9ebd94c55ce1db88044ae5",
    "client_id_issued_at": 1556544972,
    "client_secret": "_006ba31911991125763b4b024af577b3",
    "client_secret_expires_at": 1588080971,
    "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_cb"
    ],
    "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"
}
2phase<--<-- 3 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "client_id": "_be30ec6d2d9ebd94c55ce1db88044ae5",
    "nonce": "sM7sJrG6fePpGa6U",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token token",
    "scope": "openid profile",
    "state": "h0dwxvEKbGxuhGF2"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=h0dwxvEKbGxuhGF2&nonce=sM7sJrG6fePpGa6U&response_type=id_token+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_be30ec6d2d9ebd94c55ce1db88044ae5
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=h0dwxvEKbGxuhGF2&nonce=sM7sJrG6fePpGa6U&response_type=id_token+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_be30ec6d2d9ebd94c55ce1db88044ae5
5http args{}
5responseURL with fragment
5responseaccess_token=AAdzZWNyZXQx8dCgczcq66wNvV7T3vXLF0PJhNtcSo9NisA0jQwEcAZnFPd7kAnJnby1I359z6ZejyjBGEiL62EnqQ1clFiYu3jEYCdP8g9aqU4e99Kc5SoSgcqAryMFR54qPxcMgDMF5s4PnvDfR3hsBIQ-PplqBwWuXboed4wIvXH4yuypxiF11rOn2ih20452EEQ9cvZ78MnNfApF_x08ElY4VJDmqfYcW4ISVHOTiUxyfvb9AVyW1_PAzJlRm-yxKOX8CFrMzIBdRDLWP8qEf5RLo4n7varRpiJ4RKqMChOmz-AEbtKWS6gcujhqWvqFX7c4jKq6ByYy1WyEQwHCkyh9s0-llhg1fZD6hyBWIpGvKtf56RAz1-eESIZ2dKOfX5wwHXg8NVtMjGxdg9pcuH199lCt5FCfEP2iiJvmVVN3dv0R_IZ7uhd0SivuZOSXFBNeXpvtv8M4fgn745VXxkQq0_372QkwtuwhMRVVi8h3AGgkn6pT3SBVESo6Xl5GEZyxO6of386iA33sjw3bnDtlq2HvYIOrB03SA2Ybb2zcmrv4m7c6z_FGCraT3rCOkzzx3JacnhXlnK_aJKH3_-R5uEzAnP9uOEcAIpk2&id_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoieXFtR1NwcktjTW1ubjFiQ1p2cEZpUSIsInN1YiI6IlZVRzQ3NzdZUDNOTVU1S1JGRVNYNlNLUkFQWExFNE1JIiwiYXVkIjoiX2JlMzBlYzZkMmQ5ZWJkOTRjNTVjZTFkYjg4MDQ0YWU1IiwiYWNyIjoic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-PplqBwWuXboed4wIvXH4yuypxiF11rOn2ih20452EEQ9cvZ78MnNfApF_x08ElY4VJDmqfYcW4ISVHOTiUxyfvb9AVyW1_PAzJlRm-yxKOX8CFrMzIBdRDLWP8qEf5RLo4n7varRpiJ4RKqMChOmz-AEbtKWS6gcujhqWvqFX7c4jKq6ByYy1WyEQwHCkyh9s0-llhg1fZD6hyBWIpGvKtf56RAz1-eESIZ2dKOfX5wwHXg8NVtMjGxdg9pcuH199lCt5FCfEP2iiJvmVVN3dv0R_IZ7uhd0SivuZOSXFBNeXpvtv8M4fgn745VXxkQq0_372QkwtuwhMRVVi8h3AGgkn6pT3SBVESo6Xl5GEZyxO6of386iA33sjw3bnDtlq2HvYIOrB03SA2Ybb2zcmrv4m7c6z_FGCraT3rCOkzzx3JacnhXlnK_aJKH3_-R5uEzAnP9uOEcAIpk2",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "yqmGSprKcMmnn1bCZvpFiQ",
        "aud": [
            "_be30ec6d2d9ebd94c55ce1db88044ae5"
        ],
        "auth_time": 1556544501,
        "exp": 1556548575,
        "iat": 1556544975,
        "iss": "https://testop.funet.fi",
        "nonce": "sM7sJrG6fePpGa6U",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "h0dwxvEKbGxuhGF2",
    "token_type": "Bearer"
}
6phase<--<-- 4 --- AccessToken -->-->
6phase<--<-- 5 --- UserInfo -->-->
6do_user_info_request
kwargs:{'state': 'h0dwxvEKbGxuhGF2', 'method': 'GET', 'authn_method': 'bearer_header'}
6request{'body': None}
6request_urlhttps://testop.funet.fi/idp/profile/oidc/userinfo
6request_http_args{'headers': {'Authorization': 'Bearer AAdzZWNyZXQx8dCgczcq66wNvV7T3vXLF0PJhNtcSo9NisA0jQwEcAZnFPd7kAnJnby1I359z6ZejyjBGEiL62EnqQ1clFiYu3jEYCdP8g9aqU4e99Kc5SoSgcqAryMFR54qPxcMgDMF5s4PnvDfR3hsBIQ-PplqBwWuXboed4wIvXH4yuypxiF11rOn2ih20452EEQ9cvZ78MnNfApF_x08ElY4VJDmqfYcW4ISVHOTiUxyfvb9AVyW1_PAzJlRm-yxKOX8CFrMzIBdRDLWP8qEf5RLo4n7varRpiJ4RKqMChOmz-AEbtKWS6gcujhqWvqFX7c4jKq6ByYy1WyEQwHCkyh9s0-llhg1fZD6hyBWIpGvKtf56RAz1-eESIZ2dKOfX5wwHXg8NVtMjGxdg9pcuH199lCt5FCfEP2iiJvmVVN3dv0R_IZ7uhd0SivuZOSXFBNeXpvtv8M4fgn745VXxkQq0_372QkwtuwhMRVVi8h3AGgkn6pT3SBVESo6Xl5GEZyxO6of386iA33sjw3bnDtlq2HvYIOrB03SA2Ybb2zcmrv4m7c6z_FGCraT3rCOkzzx3JacnhXlnK_aJKH3_-R5uEzAnP9uOEcAIpk2'}}
7http response
url:https://testop.funet.fi/idp/profile/oidc/userinfo status_code:200
7OpenIDSchema
{
    "birthdate": "1962",
    "family_name": "Testaaja",
    "gender": "male",
    "given_name": "Teppo Matias",
    "locale": "en-US",
    "middle_name": "Matias",
    "name": "Mr.Teppo Matias Testaaja",
    "nickname": "TT",
    "picture": "https://pixabay.com/fi/pentu-kissa-kukka-potin-tabby-pentu-2766820/",
    "preferred_username": "ttester",
    "profile": "https://fi.wikipedia.org/wiki/Tom_Cruise",
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI",
    "updated_at": 1509450347,
    "website": "https://www.facebook.com/officialtomcruise/",
    "zoneinfo": "America/Los_Angeles"
}
7OpenIDSchema
{
    "birthdate": "1962",
    "family_name": "Testaaja",
    "gender": "male",
    "given_name": "Teppo Matias",
    "locale": "en-US",
    "middle_name": "Matias",
    "name": "Mr.Teppo Matias Testaaja",
    "nickname": "TT",
    "picture": "https://pixabay.com/fi/pentu-kissa-kukka-potin-tabby-pentu-2766820/",
    "preferred_username": "ttester",
    "profile": "https://fi.wikipedia.org/wiki/Tom_Cruise",
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI",
    "updated_at": 1509450347,
    "website": "https://www.facebook.com/officialtomcruise/",
    "zoneinfo": "America/Los_Angeles"
}
7phase<--<-- 6 --- Done -->-->
7end
7assertionVerifyScopes
7conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
7assertionCheckHTTPResponse
7conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
7assertionVerifyResponse
7conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
7conditionDone: status=OK

Result

PASSED