Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2019-06-17T15:44:58Z

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://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': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "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": "MN0p7vNUByv8FyLcinfr",
    "client_id_issued_at": 1560786296,
    "client_secret": "Ey3GdAZ4cL2U651xCfsk",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "registration_access_token": "z8Jk0VZGe530iT1knW6Q",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=MN0p7vNUByv8FyLcinfr",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "MN0p7vNUByv8FyLcinfr",
    "nonce": "EMJ1znJDH1iCZmxg",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "response_type": "code",
    "scope": "openid email",
    "state": "gt5ck45N0AY9SZG2"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gt5ck45N0AY9SZG2&nonce=EMJ1znJDH1iCZmxg&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=MN0p7vNUByv8FyLcinfr
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gt5ck45N0AY9SZG2&nonce=EMJ1znJDH1iCZmxg&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=MN0p7vNUByv8FyLcinfr
2responseResponse URL with query part
2response{'state': 'gt5ck45N0AY9SZG2', 'code': '9KKTAwZUjoTDmXEmVOptcTXaYSl427'}
2response{'state': 'gt5ck45N0AY9SZG2', 'code': '9KKTAwZUjoTDmXEmVOptcTXaYSl427'}
2AuthorizationResponse
{
    "code": "9KKTAwZUjoTDmXEmVOptcTXaYSl427",
    "state": "gt5ck45N0AY9SZG2"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'gt5ck45N0AY9SZG2'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '9KKTAwZUjoTDmXEmVOptcTXaYSl427', 'state': 'gt5ck45N0AY9SZG2', 'grant_type': 'authorization_code', 'client_id': 'MN0p7vNUByv8FyLcinfr'}, 'state': 'gt5ck45N0AY9SZG2', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTU4wcDd2TlVCeXY4RnlMY2luZnIiLCAic3ViIjogIk1OMHA3dk5VQnl2OEZ5TGNpbmZyIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJpUjBGTXg5N251M1RWdFhOc09FYXNYYWM1VFRKQnh5ZCIsICJleHAiOiAxNTYwNzg2ODk3LCAiaWF0IjogMTU2MDc4NjI5N30.Jg-4Z107JB4tI2DNqKSB6kJU1eF9jFsVZdOSmdQsmBcUWIqdFiziLObQ4py53FVreCa8Xb1HfslCk81KsPgokDuhncsaFabM2qwGy8f-vTVttMg5pOmbnWGlm9vpOcJ1p3Z3Y8jExJh5Hp73iOClq88DYNTp0itC7Ma2q2pdXDwe6zJxN3st0YgKHKsLNEo7lzY9CSdr-QUKyalxW49gHlziHO7I3qdBSRpnoHIzRJXBCe8xlbk7BYVdT-Y72Y8rqk-xW7_bptGSs3kuIlSJn_85myeZVMXSQj6UQQiHrrT0gEAjD18IzYK16mBxX1oPp1yLbBtVFz9gnVlllM9YEg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "9KKTAwZUjoTDmXEmVOptcTXaYSl427",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "state": "gt5ck45N0AY9SZG2"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&code=9KKTAwZUjoTDmXEmVOptcTXaYSl427&state=gt5ck45N0AY9SZG2&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTU4wcDd2TlVCeXY4RnlMY2luZnIiLCAic3ViIjogIk1OMHA3dk5VQnl2OEZ5TGNpbmZyIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJpUjBGTXg5N251M1RWdFhOc09FYXNYYWM1VFRKQnh5ZCIsICJleHAiOiAxNTYwNzg2ODk3LCAiaWF0IjogMTU2MDc4NjI5N30.Jg-4Z107JB4tI2DNqKSB6kJU1eF9jFsVZdOSmdQsmBcUWIqdFiziLObQ4py53FVreCa8Xb1HfslCk81KsPgokDuhncsaFabM2qwGy8f-vTVttMg5pOmbnWGlm9vpOcJ1p3Z3Y8jExJh5Hp73iOClq88DYNTp0itC7Ma2q2pdXDwe6zJxN3st0YgKHKsLNEo7lzY9CSdr-QUKyalxW49gHlziHO7I3qdBSRpnoHIzRJXBCe8xlbk7BYVdT-Y72Y8rqk-xW7_bptGSs3kuIlSJn_85myeZVMXSQj6UQQiHrrT0gEAjD18IzYK16mBxX1oPp1yLbBtVFz9gnVlllM9YEg&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'kcYTtJtEC8Ft4JOaeRjs', 'refresh_token': 'rnKkGKGyR4YqhGqSSTZ4NRmYDlkRwCLo34THieSt', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.bNT_u82-JeQP-5X6ZgNmDT0MEQDgh9XGkc75-Wbx1q1caOY03G1ym3-313h1ixy6tQWQ3xBiZxAUbV1Z5HL34467fFuTL97_eDE6knvP4IBv9Gqm-N8ibKRh_mTs06pm20yUzcAhAuIvEegIjoBlvPDFKP19l8vApIFPQXdWd-5sBO_d487DHViMSCRTUb2VOzJ_u3Cj5JTyB1sTRg0oopUbH1ewO_oC5GzNR-erTvq3m3q-etpX4Fcf53yzthSm4OfNFjgbTuJIOtTTedk4XbYeeghI387pshHnEvXusWCe4NCxtciHXLvFbOAitFJ35pfoug8d6E9CDJp-7z-xFg.6gIGecF1lYSyLVEWeWr53g.b4aFrN8iFfsEEBRtfp5EDxQ2qLe2BsxURipEF6vrQLZl-OnrozF8dbOJil9E_CMPqly_vE108ISdiEaEt0RJsfXYzI24EM1pq-zs3Tc24dPyY9roF6qt2Ua0wWgnk95oHgW-tjbHGFSDm-zvaZCnuilq73nP3I9_wzQWZsk3x1UFD6thtjSdfnAmQ0YK7fh0I6OjHtJBMYhyXK1bMlNNAD9exawKQeGLWx91rPpnI5Quw3iWu4GEH3G_CePBLCt45It9yl4IXSojjtvbOpYdx5aoJWRVP3QmoSnAddnlRZNAXtVluiRuU2SVURaNmsfZTxCXdromTiA6dR-FHPX3cxDQey8PuVffM_q3OeMc2GmkGqjjDLyXXU6PMwhwg_RBZCAx-S_XNmQwIjAL210-xANr82KWMVYIB3lAHzACosDCwLIW4tA3XQ2tc8Xfuc3nuOPB7yNIJtDV3SCLIe_Y5EshsiFCGlLab3rMNj-ElY-hxuz4HFsNCwDqGF2XmTWKuh1vC_1j63K7UVqpPuvueEe4J9CGdwAB7kTVrMOXHje8B88AcWowKsjNtJHxrD3-ZI5pAScWPpA83bxTUzjNZq4Xbx6MVYJYvKrR4M_lNOBr6wGYXrDJG2NOCOG3L8EaLzj74gHJbtBT8fU9GMA-t5wozDYNNO3QxgENs0hNALwL6SKZnvPE19dNQu6OfiRuhqG7x9JX25Diopia-JUi7KVNPcbJ3kIuxb_vHb2cJC10uw-dqtPWMCnigt28DtNoW-GHVdMzqF1hFT952JBuHRASt5Ta6oC7DUhZeR2VbIUjlIwq5MGM5OGdvTsoNAGfjUhyy6y3Av1CtjlS4sllLex7Wm_xr2eEGXgLMI3rVDlUH5r5GZRAlqM6gBI5XFzN2yP8GjSJxBHvOiVqPWM7Zuj2MZSNhVJLmelbpKbwIe_4ebhKubwUCZZ_8Ax0uy2gEhy5PEuahtB5QAXPR0AOVb4MTyV6Zuakxq711FL6ZtsVsAcLxzuVobvlksETPeFGlOeeLfvHv4R7fQP237YxOKHXBJR9AR8ewM24iPikFxE.SDwojRTIaEGmGrP26MmZYw', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "kcYTtJtEC8Ft4JOaeRjs",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "mgfJ97Ybz75TZF9lLDCgaA",
        "aud": [
            "MN0p7vNUByv8FyLcinfr"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560789717,
        "iat": 1560786297,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "EMJ1znJDH1iCZmxg",
        "rt_hash": "M9DIBOb6OmJSfg3tKgJ5pg",
        "sub": "testuser"
    },
    "refresh_token": "rnKkGKGyR4YqhGqSSTZ4NRmYDlkRwCLo34THieSt",
    "scope": "openid email",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'gt5ck45N0AY9SZG2', '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 kcYTtJtEC8Ft4JOaeRjs'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_verified": false,
    "sub": "testuser"
}
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_verified": false,
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyScopes
3conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
3assertionCheckHTTPResponse
3conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
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