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_encryption_alg_values_supported": [
"A128KW"
],
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "SHqjtebarhBMlRIC",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"response_type": "code token",
"scope": "openid profile email address phone",
"state": "kJLGYZH7FZbSMRcO"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=kJLGYZH7FZbSMRcO&nonce=SHqjtebarhBMlRIC&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=kJLGYZH7FZbSMRcO&nonce=SHqjtebarhBMlRIC&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
3 | http args | {} |
3 | response | URL with fragment |
3 | response | access_token=GSeFvtbnL0rntW8NgVME&state=kJLGYZH7FZbSMRcO&expires_in=3599&token_type=bearer&code=qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp&scope=address%20phone%20openid%20profile%20email |
3 | response | {'access_token': 'GSeFvtbnL0rntW8NgVME', 'state': 'kJLGYZH7FZbSMRcO', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp', 'scope': 'address phone openid profile email'} |
3 | AuthorizationResponse | {
"access_token": "GSeFvtbnL0rntW8NgVME",
"code": "qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp",
"expires_in": 3599,
"scope": "address phone openid profile email",
"state": "kJLGYZH7FZbSMRcO",
"token_type": "bearer"
}
|
3 | phase | <--<-- 4 --- AccessToken -->--> |
3 | request | op_args: {'state': 'kJLGYZH7FZbSMRcO'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp', 'state': 'kJLGYZH7FZbSMRcO', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'kJLGYZH7FZbSMRcO', 'authn_method': 'client_secret_basic'}
|
3 | AccessTokenRequest | {
"code": "qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"state": "kJLGYZH7FZbSMRcO"
}
|
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
3 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&code=qSfhVH6aFIZHb1f4hYXYPNdP8Sk2vp&state=kJLGYZH7FZbSMRcO |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
4 | response | {'access_token': 'q0pdusNkbPjcZbTr0hrR', 'refresh_token': 'CIz5jmr8r77iILz1YNtbQiDYzh4WLS7AzFTV3WxR', 'scope': 'address phone openid profile email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.AgGjIq3sjlPJ7AOPgjp-CFapPGCp_DNEWINpwHjB69_wOMM3gopU7A.D9egBC7x76UiG5Tv6ZgvRw.FJkFL2dGM0mfBtydS7MOW3eQX-lc7IkgQdQVdQ9Mez9P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EicQMHwaQxGBLUuciWGecFhccFOVIlUgBnQ4Rvv0E28kvsmu84E71arQ4kWyAM.MhWFE4ZzCnALQqom_0OdEg', 'token_type': 'bearer', 'expires_in': 3599} |
4 | AccessTokenResponse | {
"access_token": "q0pdusNkbPjcZbTr0hrR",
"expires_in": 3599,
"id_token": {
"at_hash": "OYQCbJ20clCFxCK5lPRYYw",
"aud": [
"clientID"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560835143,
"iat": 1560831723,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "SHqjtebarhBMlRIC",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "1VCJEVDuFeTDxXk37q1IrQ",
"sub": "testuser"
},
"refresh_token": "CIz5jmr8r77iILz1YNtbQiDYzh4WLS7AzFTV3WxR",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
4 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
4 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
4 | phase | <--<-- 5 --- UserInfo -->--> |
4 | do_user_info_request | kwargs:{'state': 'kJLGYZH7FZbSMRcO', 'method': 'GET', 'authn_method': 'bearer_header'}
|
4 | request | {'body': None} |
4 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
4 | request_http_args | {'headers': {'Authorization': 'Bearer q0pdusNkbPjcZbTr0hrR'}} |
5 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
5 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
5 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
5 | phase | <--<-- 6 --- Done -->--> |
5 | end | |
5 | assertion | VerifyScopes |
5 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username', 'address'] [Verifies that the claims corresponding to the requested scopes are returned] |
5 | assertion | CheckHTTPResponse |
5 | 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] |
5 | assertion | VerifyResponse |
5 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
5 | condition | Done: status=OK |