Test Info

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

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": [
        "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"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "JEqYwQQOVm6Kgj37",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "T9qpxl7BayJxTkDr"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=T9qpxl7BayJxTkDr&nonce=JEqYwQQOVm6Kgj37&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=T9qpxl7BayJxTkDr&nonce=JEqYwQQOVm6Kgj37&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
1http args{}
1responseURL with fragment
1responseid_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.Dj0mCsvc7dZJmWFePvqLlgrlUWN9gqegIl5jEVOl_Yt7lwUbEi6WIg.lVWCVhILVAuD25WEj3wbPw.duXa6lJ-03BtlDwvzyx72iY1FU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    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "CyrnmfsYwIJegCMrWgalRQ",
        "exp": 1560834900,
        "iat": 1560831480,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "JEqYwQQOVm6Kgj37",
        "sub": "testuser"
    },
    "state": "T9qpxl7BayJxTkDr"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'T9qpxl7BayJxTkDr'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'Z7SI1kZQzgFOAmBsqfRQa3GQQiY5U7', 'state': 'T9qpxl7BayJxTkDr', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'T9qpxl7BayJxTkDr', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "Z7SI1kZQzgFOAmBsqfRQa3GQQiY5U7",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "T9qpxl7BayJxTkDr"
}
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%3A61772%2Fauthz_cb&code=Z7SI1kZQzgFOAmBsqfRQa3GQQiY5U7&state=T9qpxl7BayJxTkDr
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'RKMWS8S4JA8h1DfVbxA9', 'refresh_token': 'H6WdtLTNrGKR9fI8XHNyzgEzdO15fH4wvErG3RFa', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.n6fFI4ZdszlKNwD-t8U7fpsH2ltpa8eMbXKJMRCr8q52FSkofHQ8hg.DFov9-3SuPDbxKPNROoZpg.3XPV7aSFoeedg8d1dsKpGLBQFnoEN46yTIiayHFRTg73xGTN7Nyztp4bY-9dUy14jKRkWfYfpeH8e0iQ95CAlj-8YkmKICsMVbXXZIUCM3ZwllDJtnE5ti8ltNegOHhxmGQJ86DUKRYRCTCeRoLEqkiBSiHYYbOpcmyUN2Nznbt8rBFsvoM2fBfjUpYubxNZdpTuFv3cdJZs-RQ079xAoSkec5Spudg4qOHTUDgA6nhfB_wM5nk2mpdKW69IUsMHOjqgg2PkNXPyPdCErjVK-b443EwmBuqQ87VqKNRs6QhVBwbJ5n7720TLV_GXczlcVe0czZbvw2fiZrV1wKCzY5QytgSQE7AJpK7Fjp7IYA6dHcqgDSkdKhrNtvfjiwWNVbAndLsidEDof5cmw6Rv-ZxkcLm7vb_b_jeYXEG4WeEowZyImkhkPpyq948h4DG9PDM5TPU8AHT9L4xZjXXxAE7fp5lO2tpT22rsZ3zchXFxNxWIIfO0LyPXrqNpmRWUB-MMSVzxAgAu-8DrKY2svM6TmthWAYn2foxczksUvUMFnbkr4rLBC520povq8vG5AFlZzVNmWjdYcjuZRaJGB6aoJgmTFRmQS0pOnzHpdwS-x_vPMcCIu5JtEH3vE2gysV9gK26m-_yl0PJ77Z6ebq5GmmertiUv-xsb-Y9BAbZPIFInxwrGzH1Ng-UpweHAXBZ1iobTC0WPVWrnZ7od7kawPVvjgZPuiP7WQa2sNGOQyXPR8hwg83EKj3uhO9iVurg36MRLfXXgbraOamalycswKJMLKN41S45SlwKYAldYHY6FK4wXjRW7kIlm7Zutv5v1TQ3mtscMmruHqoyQw00pBKNTmEAgHChnh3QPBLFwtgjeCbMc3A3dcRjHgBuVKbNyjRKsMI9vQrvp-GXOjU-GL-6tekd1Nmr4wvvLL_n9idiNnmr8qLGqRQrJCFHa.2HezoXysxyr7X06N_-GA4g', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "RKMWS8S4JA8h1DfVbxA9",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "Khj02L9k60UnBGPgzDk5zA",
        "aud": [
            "clientID"
        ],
        "exp": 1560834902,
        "iat": 1560831482,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "JEqYwQQOVm6Kgj37",
        "rt_hash": "F-BmgWm55qq4q0xRCgmW1w",
        "sub": "testuser"
    },
    "refresh_token": "H6WdtLTNrGKR9fI8XHNyzgEzdO15fH4wvErG3RFa",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'T9qpxl7BayJxTkDr', '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 RKMWS8S4JA8h1DfVbxA9'}}
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