0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default'}
|
0 | http response | url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/.well-known/openid-configuration status_code:200
|
0 | ProviderConfigurationResponse | {
"authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize",
"claim_types_supported": [
"normal"
],
"claims_parameter_supported": true,
"claims_supported": [
"realmName",
"preferred_username",
"given_name",
"uid",
"upn",
"groupIds",
"employee_id",
"name",
"tenantId",
"mobile_number",
"department",
"family_name",
"job_title",
"email"
],
"device_authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/device_authorization",
"grant_types_supported": [
"authorization_code",
"implicit",
"client_credentials",
"password",
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code"
],
"id_token_encryption_alg_values_supported": [
"none"
],
"id_token_encryption_enc_values_supported": [
"none"
],
"id_token_signing_alg_values_supported": [
"none",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512"
],
"introspection_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/introspect",
"issuer": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
"jwks_uri": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/jwks",
"request_object_encryption_alg_values_supported": [
"none"
],
"request_object_encryption_enc_values_supported": [
"none"
],
"request_object_signing_alg_values_supported": [
"none"
],
"request_parameter_supported": true,
"request_uri_parameter_supported": false,
"require_request_uri_registration": false,
"response_modes_supported": [
"query",
"fragment",
"form_post"
],
"response_types_supported": [
"code",
"none",
"token",
"id_token",
"token id_token",
"code id_token",
"code token",
"code token id_token"
],
"revocation_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/revoke",
"scopes_supported": [
"openid",
"profile",
"email",
"phone"
],
"subject_types_supported": [
"public"
],
"token_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token",
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"user_authorization_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/user_authorization",
"userinfo_encryption_alg_values_supported": [
"none"
],
"userinfo_encryption_enc_values_supported": [
"none"
],
"userinfo_endpoint": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo",
"userinfo_signing_alg_values_supported": [
"none"
],
"version": "3.0"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- Note -->--> |
4 | phase | <--<-- 4 --- AsyncAuthn -->--> |
4 | AuthorizationRequest | {
"client_id": "5525f670-e6b3-41a9-afec-add4254aff3b",
"nonce": "vQTNEBY50civtX71",
"redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "cWs5sbpJOYip92Vv"
}
|
4 | redirect url | https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=cWs5sbpJOYip92Vv&nonce=vQTNEBY50civtX71&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b |
4 | redirect | https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/authorize?state=cWs5sbpJOYip92Vv&nonce=vQTNEBY50civtX71&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&client_id=5525f670-e6b3-41a9-afec-add4254aff3b |
5 | http args | {} |
5 | response | URL with fragment |
5 | response | access_token=rSe2a2X81j2hw3HuunYFmqOHTZEYvHxrj8EkI9Cu&code=tMIywqWcFDaaZdwEluJTciUgfmdTpW&scope=openid&grant_id=0253b614-098d-470c-9ccf-6795b90233b9&state=cWs5sbpJOYip92Vv&token_type=Bearer&expires_in=7200 |
5 | response | {'access_token': 'rSe2a2X81j2hw3HuunYFmqOHTZEYvHxrj8EkI9Cu', 'code': 'tMIywqWcFDaaZdwEluJTciUgfmdTpW', 'scope': 'openid', 'grant_id': '0253b614-098d-470c-9ccf-6795b90233b9', 'state': 'cWs5sbpJOYip92Vv', 'token_type': 'Bearer', 'expires_in': 7200} |
5 | AuthorizationResponse | {
"access_token": "rSe2a2X81j2hw3HuunYFmqOHTZEYvHxrj8EkI9Cu",
"code": "tMIywqWcFDaaZdwEluJTciUgfmdTpW",
"expires_in": 7200,
"grant_id": "0253b614-098d-470c-9ccf-6795b90233b9",
"scope": "openid",
"state": "cWs5sbpJOYip92Vv",
"token_type": "Bearer"
}
|
5 | phase | <--<-- 5 --- AccessToken -->--> |
5 | request | op_args: {'state': 'cWs5sbpJOYip92Vv'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb'} |
5 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb', 'code': 'tMIywqWcFDaaZdwEluJTciUgfmdTpW', 'state': 'cWs5sbpJOYip92Vv', 'grant_type': 'authorization_code', 'client_id': '5525f670-e6b3-41a9-afec-add4254aff3b'}, 'state': 'cWs5sbpJOYip92Vv', 'authn_method': 'client_secret_basic'}
|
5 | AccessTokenRequest | {
"code": "tMIywqWcFDaaZdwEluJTciUgfmdTpW",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
"state": "cWs5sbpJOYip92Vv"
}
|
5 | request_url | https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token |
5 | request_http_args | {'headers': {'Authorization': 'Basic NTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiOlRFOUwxY2wzdHc=', 'Content-Type': 'application/x-www-form-urlencoded'}} |
5 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&code=tMIywqWcFDaaZdwEluJTciUgfmdTpW&state=cWs5sbpJOYip92Vv |
6 | http response | url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token status_code:200
|
6 | response | {'access_token': 'cmK3EHKr3YOaaMjseXZ1hoZQqJ4KEAVyu2IL7yCH', 'scope': 'openid', 'grant_id': '0253b614-098d-470c-9ccf-6795b90233b9', 'id_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InNlcnZlciJ9.eyJnaXZlbl9uYW1lIjoiR2VldGhhIiwic19oYXNoIjoieC1ZeUxURGVaLTZHdHM1YmhmY05TUSIsInVuaXF1ZVNlY3VyaXR5TmFtZSI6IjY0MDAwNEtHNFAiLCJ0ZW5hbnRJZCI6Im9pZGMtcHJvZC1ldTAxYS10ZXN0MS5pY2UuaWJtY2xvdWQuY29tIiwicmVhbG1OYW1lIjoiY2xvdWRJZGVudGl0eVJlYWxtIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ2VldGhhbmphbGkuZEBpYm0uY29tIiwibmFtZSI6IkdlZXRoYSBEIiwibm9uY2UiOiJ2UVRORUJZNTBjaXZ0WDcxIiwiZW1haWwiOiJnZWV0aGFuamFsaS5kQGlibS5jb20iLCJhY3IiOiJ1cm46aWJtOnNlY3VyaXR5OnBvbGljeTppZDoxIiwidXNlclR5cGUiOiJyZWd1bGFyIiwiZGlzcGxheU5hbWUiOiJHZWV0aGEgRCIsImZhbWlseV9uYW1lIjoiRCIsImdyb3VwSWRzIjpbImFsbFVzZXJzIiwiYWRtaW4iXSwiYXRfaGFzaCI6IkxhSWlkMDJ3Y1JNWXcyaW1yamxhc0EiLCJ1aWQiOiI2NDAwMDRLRzRQIiwiZXh0Ijp7InRlbmFudElkIjoib2lkYy1wcm9kLWV1MDFhLXRlc3QxLmljZS5pYm1jbG91ZC5jb20ifSwiaXNzIjoiaHR0cHM6Ly9vaWRjLXByb2QtZXUwMWEtdGVzdDEuaWNlLmlibWNsb3VkLmNvbS9vaWRjL2VuZHBvaW50L2RlZmF1bHQiLCJhdWQiOiI1NTI1ZjY3MC1lNmIzLTQxYTktYWZlYy1hZGQ0MjU0YWZmM2IiLCJzdWIiOiI2NDAwMDRLRzRQIiwiaWF0IjoxNTY4MTkzNTU5LCJleHAiOjE1NjgyMDA3NTl9.PKsmj2eIEhiWfF_i9y-_k2kfbpHNDBIFRnDCWNt0AP5VWN2LiJP6w_CuGUOkpDmFJNi-hqpsL3fWw6lwnvfksEzaC3IR1PVSBEV3w8ma1mQMwr3fGz6uHdX93-SZG0s-tKvH751-uSimj2Uytcf1I4vcbJuwxqNRxPX5AdVF7cKDsIdLzTx-15mHnOJ-JY7unf-L1DePXUh4wt34CiJwEXFA0mxejjWuG4EkJa62WF9APdDZajoEAyodTzCzKZiJmMvRi1P9XyDkH8_zI1_NyEzzboCC5CxxlAFFl331um5SiFzRRtJoSGCezpKwrNE6UaMOEUGweWvNNFkhUIWr4A', 'token_type': 'Bearer', 'expires_in': 7199} |
6 | AccessTokenResponse | {
"access_token": "cmK3EHKr3YOaaMjseXZ1hoZQqJ4KEAVyu2IL7yCH",
"expires_in": 7199,
"grant_id": "0253b614-098d-470c-9ccf-6795b90233b9",
"id_token": {
"acr": "urn:ibm:security:policy:id:1",
"at_hash": "LaIid02wcRMYw2imrjlasA",
"aud": [
"5525f670-e6b3-41a9-afec-add4254aff3b"
],
"displayName": "Geetha D",
"email": "geethanjali.d@ibm.com",
"exp": 1568200759,
"ext": {
"tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com"
},
"family_name": "D",
"given_name": "Geetha",
"groupIds": [
"allUsers",
"admin"
],
"iat": 1568193559,
"iss": "https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default",
"name": "Geetha D",
"nonce": "vQTNEBY50civtX71",
"preferred_username": "geethanjali.d@ibm.com",
"realmName": "cloudIdentityRealm",
"s_hash": "x-YyLTDeZ-6Gts5bhfcNSQ",
"sub": "640004KG4P",
"tenantId": "oidc-prod-eu01a-test1.ice.ibmcloud.com",
"uid": "640004KG4P",
"uniqueSecurityName": "640004KG4P",
"userType": "regular"
},
"scope": "openid",
"token_type": "Bearer"
}
|
6 | jws header | {'alg': 'RS256', 'typ': 'JWT', 'kid': 'server'} |
6 | phase | <--<-- 6 --- AccessToken -->--> |
6 | request | op_args: {'state': 'cWs5sbpJOYip92Vv'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb'} |
6 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61915/authz_cb', 'code': 'tMIywqWcFDaaZdwEluJTciUgfmdTpW', 'state': 'cWs5sbpJOYip92Vv', 'grant_type': 'authorization_code', 'client_id': '5525f670-e6b3-41a9-afec-add4254aff3b'}, 'state': 'cWs5sbpJOYip92Vv', 'authn_method': 'client_secret_basic'}
|
6 | AccessTokenRequest | {
"code": "tMIywqWcFDaaZdwEluJTciUgfmdTpW",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61915/authz_cb",
"state": "cWs5sbpJOYip92Vv"
}
|
6 | request_url | https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token |
6 | request_http_args | {'headers': {'Authorization': 'Basic NTUyNWY2NzAtZTZiMy00MWE5LWFmZWMtYWRkNDI1NGFmZjNiOlRFOUwxY2wzdHc=', 'Content-Type': 'application/x-www-form-urlencoded'}} |
6 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61915%2Fauthz_cb&code=tMIywqWcFDaaZdwEluJTciUgfmdTpW&state=cWs5sbpJOYip92Vv |
6 | http response | url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/token status_code:400 message:{"error_description":"CSIAQ0158E The [authorization_grant] of type [authorization_code] does not exist or is invalid.","error":"invalid_grant"}
|
6 | response | {'error_description': 'CSIAQ0158E The [authorization_grant] of type [authorization_code] does not exist or is invalid.', 'error': 'invalid_grant'} |
6 | event | Got expected error |
6 | TokenErrorResponse | {
"error": "invalid_grant",
"error_description": "CSIAQ0158E The [authorization_grant] of type [authorization_code] does not exist or is invalid."
}
|
6 | phase | <--<-- 7 --- UserInfo -->--> |
6 | do_user_info_request | kwargs:{'state': 'cWs5sbpJOYip92Vv', 'method': 'GET', 'authn_method': 'bearer_header'}
|
6 | request | {'body': None} |
6 | request_url | https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo |
6 | request_http_args | {'headers': {'Authorization': 'Bearer cmK3EHKr3YOaaMjseXZ1hoZQqJ4KEAVyu2IL7yCH'}} |
7 | http response | url:https://oidc-prod-eu01a-test1.ice.ibmcloud.com/oidc/endpoint/default/userinfo status_code:401 message:{"error_description":"CSIAQ0158E The [access_token] of type [Bearer] does not exist or is invalid.","error":"invalid_token"}
|
7 | event | Got expected error |
7 | ErrorResponse | {
"error": "invalid_token",
"error_description": "Server returned 401 Unauthorized without a WWW-Authenticate header which is required as per https://tools.ietf.org/html/rfc6750#section-3"
}
|
7 | ErrorResponse | {
"error": "invalid_token",
"error_description": "Server returned 401 Unauthorized without a WWW-Authenticate header which is required as per https://tools.ietf.org/html/rfc6750#section-3"
}
|
7 | phase | <--<-- 8 --- Done -->--> |
7 | end | |
7 | assertion | VerifyResponse |
7 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
7 | condition | Done: status=OK |