Test Info

Test descriptionUserInfo Endpoint access with POST and bearer body
Profile[]
Test IDOP-UserInfo-Body
Timestamp2017-12-18T20:59:28Z
Issuerhttps://oidctest.idautoengineering.net/idp

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

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0provider_config
kwargs:{'issuer': 'https://oidctest.idautoengineering.net/idp'}
0.025http response
url:https://oidctest.idautoengineering.net/idp/.well-known/openid-configuration status_code:200
0.026ProviderConfigurationResponse
{
    "authorization_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/auth",
    "claim_types_supported": [
        "normal"
    ],
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub",
        "name",
        "given_name",
        "family_name",
        "email"
    ],
    "display_values_supported": [
        "page"
    ],
    "grant_types_supported": [
        "authorization_code"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidctest.idautoengineering.net/idp",
    "jwks_uri": "https://oidctest.idautoengineering.net/idp/profile/oidc/jwks",
    "request_parameter_supported": false,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query"
    ],
    "response_types_supported": [
        "code",
        "token",
        "id_token"
    ],
    "scopes_supported": [
        "openid"
    ],
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic"
    ],
    "userinfo_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0.026phase<--<-- 2 --- Registration -->-->
0.026not expected to doDynamic registration
0.026phase<--<-- 3 --- AsyncAuthn -->-->
0.027AuthorizationRequest
{
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "nonce": "GFYMEoNoHJFzE8n2",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "DhF4MClvl5n3obKP"
}
0.027redirect urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=GFYMEoNoHJFzE8n2&state=DhF4MClvl5n3obKP&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.027redirecthttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=GFYMEoNoHJFzE8n2&state=DhF4MClvl5n3obKP&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.296response{'code': 'GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq', 'state': 'DhF4MClvl5n3obKP'}
0.297response{'code': 'GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq', 'state': 'DhF4MClvl5n3obKP'}
0.297AuthorizationResponse
{
    "code": "GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq",
    "state": "DhF4MClvl5n3obKP"
}
0.297phase<--<-- 4 --- AccessToken -->-->
0.297requestop_args: {'state': 'DhF4MClvl5n3obKP'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}
0.297do_access_token_request
kwargs:{'request_args': {'code': 'GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq', 'state': 'DhF4MClvl5n3obKP', 'grant_type': 'authorization_code', 'client_id': '3000badf0c55d2cae7c22b3d63e3f667', 'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}, 'state': 'DhF4MClvl5n3obKP'}
0.297AccessTokenRequest
{
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "code": "GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "state": "DhF4MClvl5n3obKP"
}
0.297request_urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/token
0.297request_http_args{'headers': {'Authorization': 'Basic MzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2Njc6ODY5N2E4OTlhYzFjNzYwODAyNmM4ZDEzN2E1YzMzYTAwM2RlMDA1MDc2MzBmMmQ2OGM5NTNlMTNkNzVlNjFiYg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
0.297requestclient_id=3000badf0c55d2cae7c22b3d63e3f667&state=DhF4MClvl5n3obKP&code=GIsGa.cgRbBO_MtUQbiHyh5MYNx50XmL7x5Yov.EZnfquYhYyq&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.33http response
url:https://oidctest.idautoengineering.net/idp/profile/oidc/token status_code:200
0.331response{'refresh_token': 'syHry+l/S7v0mfyaJz21yEWj3xvFFWXuRF6thXmNkD4yaxGvWj', 'expires_in': 32399, 'scope': 'openid', 'access_token': '~xe-hCe+lv8IVrAhe1pw+qS/.uYAryvzZOhyoy9zCIHgcv~QzM', 'id_token': 'eyJraWQiOiI2NTJlNjk1N2UxNzNmYzYxOTYxN2ZhMjNjMzZjYmFjNTRhNWZhNzhlNjBiNzA2Mjg5NmI2ZDgzNTdkNDVhOWYxIiwiYWxnIjoiUlMyNTYifQ.eyJpYXQiOjE1MTM2MzA3NjcsImV4cCI6MTUxMzYzMDgyNywiaXNzIjoiaHR0cHM6Ly9vaWRjdGVzdC5pZGF1dG9lbmdpbmVlcmluZy5uZXQvaWRwIiwiYXVkIjoiMzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2NjciLCJzdWIiOiIyNjIwMjdhMC1hZjc3LTExZTctODc2ZC0wMjc0MGM1NDljY2EiLCJhdXRoX3RpbWUiOjE1MTM2MzAzNDgsIm5vbmNlIjoiR0ZZTUVvTm9ISkZ6RThuMiIsImF6cCI6IjMwMDBiYWRmMGM1NWQyY2FlN2MyMmIzZDYzZTNmNjY3IiwibmFtZSI6IlN5c3RlbSBBZG1pbiIsImdpdmVuX25hbWUiOiJTeXN0ZW0iLCJmYW1pbHlfbmFtZSI6IkFkbWluIiwiZW1haWwiOiJqYmVsbGFzc2FpQGlkZW50aXR5YXV0b21hdGlvbi5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6IkNQdEdlU0Y4ZkZRNFNScmMyaW5aU1E9PSJ9.R35wc31mdGOp9Tzj8ed7nJ_dmmbTcz-gzlhMdpyRL3LVkPoAVC8IqvmUHJw6RM04coMEGjkeqMcfy1W4ZgfGMS146aJ2fDM6iP5Gi9IG51DvRdDN8jFNRC9lTebRxf9X3pVr5OQ6wKH1gzXd5PBdOeANWerDdw61Z-d024fne_0SbVCYe4XYJl7NDym2R8QThKPfP3D7K2Z_GUuzhUjVDuFD-MMgf8El0_OoN6K2VSWIGtDj8xLiS7Cd43drob6hGuWgSwIsnDwaysfXLcIKhzFkud7lZGLXIKKK160KACLGBnKuW_wSrZDaNwMVizgzjK0u13NCijUoqossi4yUGQ', 'token_type': 'Bearer'}
0.357AccessTokenResponse
{
    "access_token": "~xe-hCe+lv8IVrAhe1pw+qS/.uYAryvzZOhyoy9zCIHgcv~QzM",
    "expires_in": 32399,
    "id_token": {
        "at_hash": "CPtGeSF8fFQ4SRrc2inZSQ==",
        "aud": [
            "3000badf0c55d2cae7c22b3d63e3f667"
        ],
        "auth_time": 1513630348,
        "azp": "3000badf0c55d2cae7c22b3d63e3f667",
        "email": "jbellassai@identityautomation.com",
        "email_verified": true,
        "exp": 1513630827,
        "family_name": "Admin",
        "given_name": "System",
        "iat": 1513630767,
        "iss": "https://oidctest.idautoengineering.net/idp",
        "name": "System Admin",
        "nonce": "GFYMEoNoHJFzE8n2",
        "sub": "262027a0-af77-11e7-876d-02740c549cca"
    },
    "refresh_token": "syHry+l/S7v0mfyaJz21yEWj3xvFFWXuRF6thXmNkD4yaxGvWj",
    "scope": "openid",
    "token_type": "Bearer"
}
0.357phase<--<-- 5 --- UserInfo -->-->
0.357do_user_info_request
kwargs:{'method': 'POST', 'authn_method': 'token_in_message_body', 'state': 'DhF4MClvl5n3obKP'}
0.357request{'body': 'access_token=%7Exe-hCe%2Blv8IVrAhe1pw%2BqS%2F.uYAryvzZOhyoy9zCIHgcv%7EQzM'}
0.357request_urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/userinfo
0.357request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
0.394http response
url:https://oidctest.idautoengineering.net/idp/profile/oidc/userinfo status_code:200
0.396OpenIDSchema
{
    "email": "jbellassai@identityautomation.com",
    "email_verified": true,
    "family_name": "Admin",
    "given_name": "System",
    "name": "System Admin",
    "sub": "262027a0-af77-11e7-876d-02740c549cca"
}
0.396OpenIDSchema
{
    "email": "jbellassai@identityautomation.com",
    "email_verified": true,
    "family_name": "Admin",
    "given_name": "System",
    "name": "System Admin",
    "sub": "262027a0-af77-11e7-876d-02740c549cca"
}
0.396phase<--<-- 6 --- Done -->-->
0.396end
0.397assertionVerifyResponse
0.397conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
0.397conditionDone: status=OK

Result

PASSED