Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-Body
Test descriptionUserInfo Endpoint access with POST and bearer body
Timestamp2019-06-18T04:14:33Z

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": "uoZHHyRYOMcTACDz",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "fD38HfK7VBsYXnk0"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fD38HfK7VBsYXnk0&nonce=uoZHHyRYOMcTACDz&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fD38HfK7VBsYXnk0&nonce=uoZHHyRYOMcTACDz&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseaccess_token=kpw2FpGOm8HSOrZ8GSUd&state=fD38HfK7VBsYXnk0&expires_in=3599&token_type=bearer&code=PxZ1dUVFxWhUxaaMoF7oaEvP2AKnW6&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0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ylD_pL6MiAO2rcFpNlcEtP7gbLyPPRK6CV4ENE2AD_3I-ajIAtaB4pUj8J-K2l9cPW8A0Syq2wTf2__9_rt2ZrAb4iKiy7BdONOmoUTItg9tXhQu1RSSb2I2LTqOIcCxox0793GBwXDELVeLEtdvebOl-OrVbVgDGXay-yiLaqKs7u96pX.ZvYdn-Ek34xKuM9gVuEHzw'}
2AuthorizationResponse
{
    "access_token": "kpw2FpGOm8HSOrZ8GSUd",
    "code": "PxZ1dUVFxWhUxaaMoF7oaEvP2AKnW6",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "8iX4AC0eCp4xOFk8bAGwzQ",
        "aud": [
            "clientID"
        ],
        "c_hash": "dQa5YNHohxof2d-aIXs_QA",
        "exp": 1560834691,
        "iat": 1560831271,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "uoZHHyRYOMcTACDz",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "fD38HfK7VBsYXnk0",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'fD38HfK7VBsYXnk0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': 'PxZ1dUVFxWhUxaaMoF7oaEvP2AKnW6', 'state': 'fD38HfK7VBsYXnk0', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'fD38HfK7VBsYXnk0', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "PxZ1dUVFxWhUxaaMoF7oaEvP2AKnW6",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "fD38HfK7VBsYXnk0"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&code=PxZ1dUVFxWhUxaaMoF7oaEvP2AKnW6&state=fD38HfK7VBsYXnk0
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': '9d63tyUpm7qPgp4pW2Rr', 'refresh_token': 'NJPhDRjTwdWaExqhL2aHkj83KMa32tR0UvJg5vdv', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.uGMUKIq36MMSu2bwv75Z5jBZUKGRzIzxjKOUURtyG93qu7ASNCk3Aw.DK41hkRZbVv3uLAkTRsvXw.2uFDLlOlSoJa5OHAK6nkQyEGJsbRW6mhlo7duj3ACh6MFTKmNzsT9MT8aWEgOb3Pt0r8m9O1LF3l45yVM36rH0WWR4ivVHzJuaY5EUHMSB7qOsz1wNdTwWqJXYkvI2l_qQN6I09KQO3cZGTDqUq3SaR_6fjK4_OWQhReZMNO9bsjlmQHsMlGJldWIxK8g792J5iaMNFQrpc5JYHULYrU4FhUsqQj4VJ1EM3B43iViS9HaZWmooq7vpsSnTavGb5bsxNmq0ymgxRvRu-NbTxgN-QL6dN5NfH5DBeB5qQR_lsYmSi0gyPZst87bVXZqILN6mqW_fa-1Hdr3U9paM74xHRjLVaiSpaabak9xPSdsW2dYHV0P4_1LAjaupI8WDcuQvRFrzzZdfOTu5wYDuEx6iudK7bxt0ZWEypA296j7TJC_2z-Kv9sTPEyhlMQNYpgozYT9yhSLGcJ75wewnKR2Q1H4MBbxAhjSHI0WjQI5YCMAR5qa3rBjoN8Wgb-TShLo0m_1FtCvg8lBf-GHVkKAYVp9K4hW4oESyJVZ2z63OSk5IqC_52o8LHeC8YLTRpCRpvO8WOhrENN1uBIaYlDXJ_0zV9i5ihvOIydFYbaZZaxRW1QRdSdubhpJsTDcYsS3RWw8PD2ni2z_feKC9LoYHqFooGFeHh1FsIQhbIWaYKKwdfRXgkg5G9VsZVvx3ytovRgzeKMVrZDvGa3Ym-s7kvYIeN7iUHznMhoc87tiY5ObMod3y1CskdEu8IBBDxF4VpBheOKbrsgjzMs3cLQzilh4xmjyaPhOG9pFeBxCDhqvg4W2FpdQH4oovJEHPTqrH1_XLBXmfzb0jdQFWL5FXrz68gDJSMA9VYtJq8lJZvm9q8Cik7a1BN-lkV0NNvSUFFfTSXxGyGnWTwuYcmL_YMUqTStIunr6H0rHCTtlkLntP407cSBD2iBtJ5x0oLP.HxLxYf-ONvCssTOtQ5Q1FA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "9d63tyUpm7qPgp4pW2Rr",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "3QTPUnBemuj4T_RFMKonEQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834693,
        "iat": 1560831273,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "uoZHHyRYOMcTACDz",
        "rt_hash": "KcYEHG08sao6FEo6I9bBTg",
        "sub": "testuser"
    },
    "refresh_token": "NJPhDRjTwdWaExqhL2aHkj83KMa32tR0UvJg5vdv",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'fD38HfK7VBsYXnk0', 'method': 'POST', 'authn_method': 'token_in_message_body'}
3request{'body': 'access_token=9d63tyUpm7qPgp4pW2Rr'}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'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