Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-nonce-noncode
Test descriptionRequest with nonce, verifies it was returned in ID Token [Implicit, Hybrid]
Timestamp2019-06-17T15:14:59Z

Conditions


check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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'}
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"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "D6a2HgAwG3IZ6ufDptW4",
    "client_id_issued_at": 1560784497,
    "client_secret": "p8O2BB1F0zrmmL3us6Po",
    "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": "f27P45mxEaZXka2FPKhF",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=D6a2HgAwG3IZ6ufDptW4",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "D6a2HgAwG3IZ6ufDptW4",
    "nonce": "v33K8y00BScjeVEP",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "EaOGSdiGqbtJVsWe"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=EaOGSdiGqbtJVsWe&nonce=v33K8y00BScjeVEP&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=D6a2HgAwG3IZ6ufDptW4
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=EaOGSdiGqbtJVsWe&nonce=v33K8y00BScjeVEP&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=D6a2HgAwG3IZ6ufDptW4
1http args{}
2responseURL with fragment
2responseaccess_token=wPj37cbQgOc1MvKqEgVb&state=EaOGSdiGqbtJVsWe&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHY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_I_OS-Urjegl05ttz1xso2ZwECXHoePVT5mvuW_L6dPCYdqTaGGHshCpq1lVhbqqSb45AGmOKnWzdhQ37zZTpEFSFnSECpz67Vcub3LPQnkd6YugLqb2nowSvmr1MRO5YqzjP1RPdCFIEAN3RHZaL2xTwBZzttVZk-vWSo-CmN_At67N3sNHt_ZQkHqil8WjHsYvohHOnc84ap-PtX6WXVjhJdViTBU2cBX8qpmwuGKITJulofLC_qU_eYLGnhBz7IIM5v0FCIZxSuufrHMQSAtrD8ym0-wgQ3ABL548_KFeUMeKg8m2TnhnORtbWVn6x1kXu-JEct4y1OvKvXx9ISuS__Z_nDnN1VErvxnVvKziOuH78N8uFzMT0AWMYOeMP-OAFKqzRkVTPHvZ3hEfZnDB23q6UVVCu3YjC7N5n7kQQ-RWx2EwY0irJeLh6tDAt9VADfYaiYaX8Cg9uIcZH-LdG9qAmhhrwAfLvC1kjObVOs3IUMdp3M9nPhwvQRd40etVjKicVoZ3lWTY7IHP0GA6CsAZZmur_f8xaN3x3h27--UkiUKBuiGH2AEuxyVw4zkeEiQnij6MCNd3D1-RrDtChc6lJ6vWiNDYq7tjUFO-c8VP5zrZNPGmm1OWEY9enYN-DISgDTfKDEwWJiEHSY1FI7G5M5EdDUNyrbONAxUeDwJoA7-EWkP1YQNu0AEeBkulRPvkTUhrjLVM-034Q0EpJbltN7QAP5tgBjBALuaoXdAH-XDMD4jjUkrRUbTCH1EsQ.DWlSMemZGWaUqsNzVpX3zg'}
2AuthorizationResponse
{
    "access_token": "wPj37cbQgOc1MvKqEgVb",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "NRQdLTQ6ZgcnkjOHLylH9Q",
        "aud": [
            "D6a2HgAwG3IZ6ufDptW4"
        ],
        "exp": 1560787918,
        "iat": 1560784498,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "v33K8y00BScjeVEP",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "EaOGSdiGqbtJVsWe",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- Done -->-->
2end
2assertionCheckIdTokenNonce
2conditioncheck-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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