Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Registration-jwks_uri
Test descriptionUses keys registered with jwks_uri value
Timestamp2019-06-17T07:06:33Z

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'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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_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"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['code id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "response_types": [
        "code id_token token"
    ],
    "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": "vtF2RFKxsAzP1wo9aThF",
    "client_id_issued_at": 1560755191,
    "client_secret": "CmBqI6WikP4Ut9I1ETDT",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "registration_access_token": "eREa5GEKzQZMo7zzw4Uf",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=vtF2RFKxsAzP1wo9aThF",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "vtF2RFKxsAzP1wo9aThF",
    "nonce": "adIOzmC623TGSYXG",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "Cxlpf3X1IADo7Z5X"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Cxlpf3X1IADo7Z5X&nonce=adIOzmC623TGSYXG&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=vtF2RFKxsAzP1wo9aThF
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Cxlpf3X1IADo7Z5X&nonce=adIOzmC623TGSYXG&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=vtF2RFKxsAzP1wo9aThF
2http args{}
2responseURL with fragment
2responseaccess_token=JWvpwSSGdDuCTaL4bhsh&state=Cxlpf3X1IADo7Z5X&expires_in=3599&token_type=bearer&code=62Z8TsoLRGyYHdqBs46s4AiyTK05Bz&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImFkSU96bUM2MjNUR1NZWEciLCJpYXQiOjE1NjA3NTUxOTEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ0SGIyZ0ZsdHg0YzFDZTcxci1WZF93Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MTEsImNfaGFzaCI6IlF4UFJCc2E4VHFPQWpqMEhMRUFiaHciLCJhdWQiOiJ2dEYyUkZLeHNBelAxd285YVRoRiJ9.vaifgdNjUrtT0_hsZjH5BZMsbMXLqxbUUozt2dmLyygQM3kqhRaChpALxD6A5jGshtbGgw3F0SLdnGE_VMkbjCmo9bzU0ZkJLe8O4_s5ku6mYtRE3-4W6BokmVNzXSouJMk0BpWOrqlJMI1imMAKJVvn50C7h5baPul2yI_QvywpMGMFEBkg4QanwEV11-PbTlTy_x7ukujllHogSgb5sD9KIn1m5dj_pfMfRvVAZjkCTVVa1mbkMQEkNssrc3qX_ciGtYnipMsEJGQm8cfY3OVHXt6pGzcalfnaK5sYuVHIc6Uf84e-3BRYzJ1jCM6UuMlUXl01l9zQeLw1-G2PZw
2response{'access_token': 'JWvpwSSGdDuCTaL4bhsh', 'state': 'Cxlpf3X1IADo7Z5X', 'expires_in': 3599, 'token_type': 'bearer', 'code': '62Z8TsoLRGyYHdqBs46s4AiyTK05Bz', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImFkSU96bUM2MjNUR1NZWEciLCJpYXQiOjE1NjA3NTUxOTEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ0SGIyZ0ZsdHg0YzFDZTcxci1WZF93Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MTEsImNfaGFzaCI6IlF4UFJCc2E4VHFPQWpqMEhMRUFiaHciLCJhdWQiOiJ2dEYyUkZLeHNBelAxd285YVRoRiJ9.vaifgdNjUrtT0_hsZjH5BZMsbMXLqxbUUozt2dmLyygQM3kqhRaChpALxD6A5jGshtbGgw3F0SLdnGE_VMkbjCmo9bzU0ZkJLe8O4_s5ku6mYtRE3-4W6BokmVNzXSouJMk0BpWOrqlJMI1imMAKJVvn50C7h5baPul2yI_QvywpMGMFEBkg4QanwEV11-PbTlTy_x7ukujllHogSgb5sD9KIn1m5dj_pfMfRvVAZjkCTVVa1mbkMQEkNssrc3qX_ciGtYnipMsEJGQm8cfY3OVHXt6pGzcalfnaK5sYuVHIc6Uf84e-3BRYzJ1jCM6UuMlUXl01l9zQeLw1-G2PZw'}
2AuthorizationResponse
{
    "access_token": "JWvpwSSGdDuCTaL4bhsh",
    "code": "62Z8TsoLRGyYHdqBs46s4AiyTK05Bz",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "tHb2gFltx4c1Ce71r-Vd_w",
        "aud": [
            "vtF2RFKxsAzP1wo9aThF"
        ],
        "c_hash": "QxPRBsa8TqOAjj0HLEAbhw",
        "exp": 1560758611,
        "iat": 1560755191,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "adIOzmC623TGSYXG",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "Cxlpf3X1IADo7Z5X",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'Cxlpf3X1IADo7Z5X', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': '62Z8TsoLRGyYHdqBs46s4AiyTK05Bz', 'state': 'Cxlpf3X1IADo7Z5X', 'grant_type': 'authorization_code', 'client_id': 'vtF2RFKxsAzP1wo9aThF'}, 'state': 'Cxlpf3X1IADo7Z5X', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidnRGMlJGS3hzQXpQMXdvOWFUaEYiLCAic3ViIjogInZ0RjJSRkt4c0F6UDF3bzlhVGhGIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJud1hDeGJYTDRNOEtlWjFkamtVazlwOVgwZzM4VFRrYiIsICJleHAiOiAxNTYwNzU1NzkyLCAiaWF0IjogMTU2MDc1NTE5Mn0.ucWnxv5ADLtz7txCYVY8SnAe3xJ9umdKuvK2SzxsSXMhtH1nGNk4_tODVnJu8WbtnlLKsB8Q1cNwi-3-DHzLMYxZYpUP3gxp91oWETZ8HDRHajoPEftSwZ_qmJXIuX8QnQFmxCTuSXI0X4if7e5lwx_cSosRbFrOUbcTQdgShTIpW1-H8V9iaYxe7Y108MzDDW9Y7k8sO8bux4fDxiYyMvLYis24iPW5Jgppf_05ZQDt3_byQJ0X_UWKfGVMQap70bnrwZrJaY2nvOkyPT36DYi3gi4Z1J_7PxfV3x516tiCXCRwubSy20FqGhIRXpVPkhhT5mEGlCFvvmtXdwZGGw",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "62Z8TsoLRGyYHdqBs46s4AiyTK05Bz",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "Cxlpf3X1IADo7Z5X"
}
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%3A61367%2Fauthz_cb&code=62Z8TsoLRGyYHdqBs46s4AiyTK05Bz&state=Cxlpf3X1IADo7Z5X&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidnRGMlJGS3hzQXpQMXdvOWFUaEYiLCAic3ViIjogInZ0RjJSRkt4c0F6UDF3bzlhVGhGIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJud1hDeGJYTDRNOEtlWjFkamtVazlwOVgwZzM4VFRrYiIsICJleHAiOiAxNTYwNzU1NzkyLCAiaWF0IjogMTU2MDc1NTE5Mn0.ucWnxv5ADLtz7txCYVY8SnAe3xJ9umdKuvK2SzxsSXMhtH1nGNk4_tODVnJu8WbtnlLKsB8Q1cNwi-3-DHzLMYxZYpUP3gxp91oWETZ8HDRHajoPEftSwZ_qmJXIuX8QnQFmxCTuSXI0X4if7e5lwx_cSosRbFrOUbcTQdgShTIpW1-H8V9iaYxe7Y108MzDDW9Y7k8sO8bux4fDxiYyMvLYis24iPW5Jgppf_05ZQDt3_byQJ0X_UWKfGVMQap70bnrwZrJaY2nvOkyPT36DYi3gi4Z1J_7PxfV3x516tiCXCRwubSy20FqGhIRXpVPkhhT5mEGlCFvvmtXdwZGGw&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'SL9vApPvRfCE3DYT5WVE', 'refresh_token': 'khX1ivTqiGIukZXtXDKFsMmRFL7dftNSjyyVr7w0', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiNjRtN1NPYWNaTm5ydl9nSEtDOVdNdyIsIm5vbmNlIjoiYWRJT3ptQzYyM1RHU1lYRyIsImlhdCI6MTU2MDc1NTE5MywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImVidEpUTEhPMm53REkzNlpZMEViSkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODYxMywiYXVkIjoidnRGMlJGS3hzQXpQMXdvOWFUaEYifQ.pi5AGb0fUQRM5R7nr4CrHE5wLl9tGKRzti63bj_q_zz-gx_lnh9jwLDulwOexdnQWJk0hlHC4pBt8yaw_XkVC2Sgu6HRa5VvaJaSRhRvxhhKEZUHzcHCc5aUPhCzTWEqlQ9O_Z53nXbWHdAKus49WImR8xM857SpTtpr1fByoaJUZnK6uRyTYk2f037g3HoHplctjBBUcSTHfPyCBiVSQc5ASpq8vXyAs_lNQJ174iU-lSE8-g14g5TyG4vB9TWz_0KUCDxDdd9QpRjvbOsXD0PJuWkRH_-GtEU6_7Ano7di9fhUWbmrC38-t6FnRILmYgQT1FnNC2g6CLTK_M_NXw', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "SL9vApPvRfCE3DYT5WVE",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ebtJTLHO2nwDI36ZY0EbJA",
        "aud": [
            "vtF2RFKxsAzP1wo9aThF"
        ],
        "exp": 1560758613,
        "iat": 1560755193,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "adIOzmC623TGSYXG",
        "rt_hash": "64m7SOacZNnrv_gHKC9WMw",
        "sub": "testuser"
    },
    "refresh_token": "khX1ivTqiGIukZXtXDKFsMmRFL7dftNSjyyVr7w0",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- 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