Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-sig-any
Test descriptionRP registers userinfo_signed_response_alg to signal that it wants signed UserInfo returned
Timestamp2019-06-17T15:14:40Z

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', 'userinfo_signed_response_alg': 'RS256'}
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",
    "userinfo_signed_response_alg": "RS256"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "bKIN4BLU3xhSHgubbsKk",
    "client_id_issued_at": 1560784478,
    "client_secret": "q69RJH5WH7JMlKu2IvLU",
    "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": "4oLtv87ASJjfwZysXuLR",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=bKIN4BLU3xhSHgubbsKk",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "bKIN4BLU3xhSHgubbsKk",
    "nonce": "uPAJXtdGLSLuiLjS",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "MFqJtbfe0mbn9W1N"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=MFqJtbfe0mbn9W1N&nonce=uPAJXtdGLSLuiLjS&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=bKIN4BLU3xhSHgubbsKk
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=MFqJtbfe0mbn9W1N&nonce=uPAJXtdGLSLuiLjS&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=bKIN4BLU3xhSHgubbsKk
1http args{}
2responseURL with fragment
2responseaccess_token=ZSsdQpDgWafoRhhQfesE&state=MFqJtbfe0mbn9W1N&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUh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3xSuROb1TvI-Z-YVsKLzXVFal_suPZq-tOKPV_JodfO9OzLMpfks5SJPF2JsskWU8YlXmJolQznjUvu5beYoXlQAxNgqa0Ozc6fMCcOY68I5A_HY-H3flmBBbr8Wuhe6sXQ2d-NYQJcNJaFQnuwVMa-gLywMAZqdrlHHT26pNkDqMVmb5M2E5UTlGxGwrxn2ubOL9_XStBWh2Mfdq0t1GTiRQxsELLo1R69dJWkW2J833IC5wdhUgmPr00GRLG0lSM0hC4xK25Ey7-3CoXyH9qvq2qnDmTMh5qjaHS1VnsZmFlJ0cTcbZfp64KCZCD-bgeMOnzMZBeoabuDS8hw5cDiSKsWdx8WeiDXkWG8UoBm6_LgwDa4SG7GponP3-Hsd8hRMMCzIePm2Zph85iUW8ZTlKajAlNeyCMpNPQprBIuVW2Q_0ieqVZpzRiJ-nVijEiOR4FEziu3C8v9XIlUn-Rj3lolxAPKbfXZbwiBqDoVTmZ8b32KoDRpu0IyX7C91sKob7oHg_ifAMIVZ8CgkdvNBK_xU8oHcwB6Ti4y3rpUz4HMTq9v9nEmGlKaqrJF-oXH7g5j4FeRHT2zLz9BmZqTEKSEFPNb1OtX0N7c5v8v4k-oveHhi7L5T8LmOUyjiWOFD-huxESPzQ-F1AEy4HopH57FnP9cAjTWRzSujUxCw6pF-FOeLd_pch75qejr8zl2_HvjYvqI4pZk0sKbl8-xTY7V_Qegaf4otOnjar_uz3uMC2N7tcWm2PcmaoFZsvsZDtTBMUFDoOBLa_kP5SFOFNYNEn6xQ.FX_z4kkxbsz8__OwS2ebWg'}
2AuthorizationResponse
{
    "access_token": "ZSsdQpDgWafoRhhQfesE",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "AwabTUkF-ZyAT_zCALLtCQ",
        "aud": [
            "bKIN4BLU3xhSHgubbsKk"
        ],
        "exp": 1560787899,
        "iat": 1560784479,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "uPAJXtdGLSLuiLjS",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "MFqJtbfe0mbn9W1N",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'MFqJtbfe0mbn9W1N', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer ZSsdQpDgWafoRhhQfesE'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "aud": "bKIN4BLU3xhSHgubbsKk",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
2OpenIDSchema
{
    "aud": "bKIN4BLU3xhSHgubbsKk",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED