Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-Endpoint
Test descriptionUserInfo Endpoint access with GET and bearer header
Timestamp2019-06-18T04:26:35Z

Conditions


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://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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": [
        "A128KW"
    ],
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "sRN1gKqSPBbtg5LE",
    "redirect_uri": "https://op.certification.openid.net:61770/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "U3X08bgjVOXvB3qA"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=U3X08bgjVOXvB3qA&nonce=sRN1gKqSPBbtg5LE&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=U3X08bgjVOXvB3qA&nonce=sRN1gKqSPBbtg5LE&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseaccess_token=gmTC5o1QT6fLqUeAa0vA&state=U3X08bgjVOXvB3qA&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.v1HvJSbzrC_T2tzfwD21P_WCSsuVFkYJikvBmx_UA7NR9FHvFB9Vrw.ZnEbh9yMw6EanF1ajlDRSg.jT2YF48nl1UB7boBnUo225YqEX9Bh9N8IROVXhUfL3BC1FK7CvqXJz_IkpmE5k6Wir0mc5KB26yI8apq9FluYB0mQW6Bpd6gRWr8YwT0U3DpxyfPeBTznYfDsjK-U_f-ET_EuFF6L8Ff72ZjoHHCNbTeKogthnH4rApN4ikCZKzJJ_8rtbJeBxWo9SbG4O0tBrH8G5mfMaifuQVWredbUKtSHFnEnLhHmfdx33tshoiMyfssUCp9rVzdUISL-dTzL4vDvarDlho-GHi5yuamYQ9sU1k2tBueUyQuR_okIUr4WSPBQkRYMEjoQgU7qv-wEvhRIecgAO27NKqkdz2lIWPBUsRe7rLjt0W2lBSpTVT8kHTsEI7PcZli0AjAt9IMFQLUbcMhnlet70A93FlpnYCmPMoMaohI3gNFwm_1m-G_4GFh4rBnUgdx5F5mYq81NnV5ZakjEdTlvbrEVIqPOp_DjSB3RXlJWNIofEpnwKDtrmT410fycM8nWJ8HuxVoYqidpQDRpq_DC5u-Eiz73RMs5el1jMxv5HBp0JlRQ7ge4Oz5K4z189JNIGGaE1P3lVWS9_LhMFcyIESYCcu-V5_SFCnxZ-SniKNHm-PrWwXyqrc3ENLurIjwuHUr2FH5Y03_ybzk5fc33YV4lr-LZJArO792Xr_PVL5UveFo6npCwMeLk3hMMaIK3YK-BL9FAcE5S_KxaW7VagvPlJMapBjuypwv76CryOlZJiI4Lebk703BY5Sqpiur2FFH3hfIKhLLEIkL3AfwoulUCjOIbRFrSg90JYG93BPc9_bYT8JbJLZX1BiEbW_61YbPNJLV3fCSVptM9kzmfvg60K1BSVbnoR86mOh2gyI357ZT_DtW96mwU81CSUO8G9OSywLI.3XOGG5VSEfsUcN3-fADpvQ
2response{'access_token': 'gmTC5o1QT6fLqUeAa0vA', 'state': 'U3X08bgjVOXvB3qA', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJl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vA",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "1u442XwJ9ekzhjijBkmvdw",
        "aud": [
            "clientID"
        ],
        "exp": 1560835413,
        "iat": 1560831993,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "sRN1gKqSPBbtg5LE",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "U3X08bgjVOXvB3qA",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'U3X08bgjVOXvB3qA', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer gmTC5o1QT6fLqUeAa0vA'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "sub": "testuser"
}
3OpenIDSchema
{
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED