Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-Header
Test descriptionUserInfo Endpoint access with POST and bearer header
Timestamp2019-06-17T15:14:31Z

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'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "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": [
        "RSA-OAEP-256"
    ],
    "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"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "Z2mXxlCMCcQnCpPyVvCm",
    "client_id_issued_at": 1560784469,
    "client_secret": "vwKD8VnCzbCv6EIFdFI2",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "registration_access_token": "BVR5mRMWW71jCZaXKWge",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=Z2mXxlCMCcQnCpPyVvCm",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "Z2mXxlCMCcQnCpPyVvCm",
    "nonce": "k1SRu3tkaNrjyqLL",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "j0qpNhCQQmlaU5ew"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=j0qpNhCQQmlaU5ew&nonce=k1SRu3tkaNrjyqLL&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=Z2mXxlCMCcQnCpPyVvCm
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=j0qpNhCQQmlaU5ew&nonce=k1SRu3tkaNrjyqLL&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=Z2mXxlCMCcQnCpPyVvCm
2http args{}
2responseURL with fragment
2responseaccess_token=lYnGDMvf2SXOLJPGhKE7&state=j0qpNhCQQmlaU5ew&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQz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4Ivt7HbnuMpB3K7_W1iIfzR5vJidLxwpxr2YA1mWaU3N__Bqe4I9r7XroCLVVz1VoqKwD-KaD5lgOZ98iGFeXQJfG8Jw0Uu4rjx5-cvh8eyQ-WTnliJVYCA1IgsusbHuh1u3PTJhKyIrZv5jjMTi8zQ51N2S4aFPteT48bGdL5ki0jpl5xH7ZoT2Oh5K0D0sGprgpCAoU8OwWaVyx0kXvL-Q0v0VD1_-awLWXN5wJIthYOtIva8F4CjpqSPpAToF6TZOINdPt2ny7HLQ-zPaiEFFUICG-guZiAnZRYA_Xw9drtNfXdMRmeYT4C1o26oxg64uGOUlTwyqcQ9Rxnl9Rg_tqz3oSEJiiOWlzbJlYU5PuKEmWEB4u_jQpL4P6kDAQ0ocUWQrWIx6mCgrHQt26BwAkzqhx1pg8jsuJABYR8i8_ji-XMrklJhwdx-7QNTwS_54RyTSy-cy5uXuG2dZF_ePGbgVL4wABvH_1-hzUOrfyoBsTAajyJmYwKI4ILRkhORSabyMGD5xzvOdKHacqrhuXvo77dyhsZFWVhVLE5far9m-RXQnnHjVtP2FtMZYAG7qi7C0B62c4leAx_v5Lxg9WznbPL7ppJoWwvPSefOiiQrcUjArv1xvGxYnkX2vpwIVsK4g6PDLnU5shhPP-RJr9Zn_-ndyVgJIhLpxbFbOXiwFtB9ZeM5w2XmwfXVayQeYCWCRfBQE75L-hQe7epiqSaeU9xShA.xgKpPZRXmb4zCsnK7zMn9A'}
2AuthorizationResponse
{
    "access_token": "lYnGDMvf2SXOLJPGhKE7",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "z5TzWP7h3i45ZE6coz4NDA",
        "aud": [
            "Z2mXxlCMCcQnCpPyVvCm"
        ],
        "exp": 1560787889,
        "iat": 1560784469,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "k1SRu3tkaNrjyqLL",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "j0qpNhCQQmlaU5ew",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'j0qpNhCQQmlaU5ew', 'method': 'POST', 'behavior': 'use_authorization_header'}
2request{'body': ''}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer lYnGDMvf2SXOLJPGhKE7', 'Content-Type': 'application/x-www-form-urlencoded'}}
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