0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
0 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
0 | ProviderConfigurationResponse | {
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"claims": {
"userinfo": {
"name": {
"essential": true
}
}
},
"client_id": "clientID",
"nonce": "qe6asfu7mpALpj8Q",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "loxCnXuiQZ2OwekB"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=loxCnXuiQZ2OwekB&nonce=qe6asfu7mpALpj8Q&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=loxCnXuiQZ2OwekB&nonce=qe6asfu7mpALpj8Q&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InFlNmFzZnU3bXBBTHBqOFEiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1ODQ3MywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjE4OTMsImNfaGFzaCI6In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dGABQIwfiTJY5DGxe1wvvpA8Zwju6C3S6bNCY0RD1QUywNGcjLUzir40SpwycJL5uYow5GeREuWQ', 'state': 'loxCnXuiQZ2OwekB', 'code': '3TgntZxEFQMMQXJBQy4CerPUSp8ybv'} |
1 | AuthorizationResponse | {
"code": "3TgntZxEFQMMQXJBQy4CerPUSp8ybv",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "yBxsOhyhS5JPPb8FqPZJBQ",
"exp": 1560761893,
"iat": 1560758473,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "qe6asfu7mpALpj8Q",
"sub": "testuser"
},
"state": "loxCnXuiQZ2OwekB"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'loxCnXuiQZ2OwekB'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': '3TgntZxEFQMMQXJBQy4CerPUSp8ybv', 'state': 'loxCnXuiQZ2OwekB', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'loxCnXuiQZ2OwekB', 'authn_method': 'client_secret_basic'}
|
1 | AccessTokenRequest | {
"code": "3TgntZxEFQMMQXJBQy4CerPUSp8ybv",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
"state": "loxCnXuiQZ2OwekB"
}
|
1 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
1 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
1 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=3TgntZxEFQMMQXJBQy4CerPUSp8ybv&state=loxCnXuiQZ2OwekB |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'uZeuE42DQyY6YM9ZdeqP', 'refresh_token': 'umGzjSE5QDqVpXxk5xKJTUWgt9HJ9xTLy65E1Mbh', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiUHV4REkzZW91RGpkS0YyelJ1d25zZyIsIm5vbmNlIjoicWU2YXNmdTdtcEFMcGo4USIsImlhdCI6MTU2MDc1ODQ3NSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IlpJTDVkdFZCczFXNVMzZFF5MFhFSGciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg5NSwiYXVkIjoiY2xpZW50SUQifQ.t3XkMyOLOiY_J5dqwxBrSRcs3Rjs-PgbUSEYMLsYiZBXqobsBOzbSQfcRv-l5Lxn-4JYVi6Zn_pbNQVxWCl4X6w3vClaFGBt8FEjf7RSkafX7Gv0yhQHFq2KFc4Wx8ymNidOmYXEMIiMJdQhhLbnb2TqlbGObyiG1ctsiwDPSrLCEzXOob2ST4WAYn3KPMRWa73LkQMsqU85PABnaYgvAdI30MKn_PqddqiE9pWyHgIwAYr7RDDlkJ-PZ5g1KLhBXNVQ7G29oMrx6MRE9vdk9_DgdvdKe7BHRAM1PVotJDuzCCPZG__FiDeyYsYNmED8lOue2V0oJadzj5SPj7_vMg', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "uZeuE42DQyY6YM9ZdeqP",
"expires_in": 3599,
"id_token": {
"at_hash": "ZIL5dtVBs1W5S3dQy0XEHg",
"aud": [
"clientID"
],
"exp": 1560761895,
"iat": 1560758475,
"iss": "https://isamfed.com:30443/test",
"nonce": "qe6asfu7mpALpj8Q",
"rt_hash": "PuxDI3eouDjdKF2zRuwnsg",
"sub": "testuser"
},
"refresh_token": "umGzjSE5QDqVpXxk5xKJTUWgt9HJ9xTLy65E1Mbh",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'loxCnXuiQZ2OwekB', 'method': 'GET', 'authn_method': 'bearer_header'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer uZeuE42DQyY6YM9ZdeqP'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyClaims |
3 | condition | verify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for] |
3 | assertion | CheckHTTPResponse |
3 | condition | check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks] |
3 | condition | Done: status=OK |