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": [
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | register | kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "54wTA4tDXUUGDXYNrXDs",
"client_id_issued_at": 1560786219,
"client_secret": "FHGjuJeP4jlfUCmap9qB",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"registration_access_token": "93HLICcEyICfV1j9Zo1B",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=54wTA4tDXUUGDXYNrXDs",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"claims": {
"userinfo": {
"name": {
"essential": true
}
}
},
"client_id": "54wTA4tDXUUGDXYNrXDs",
"nonce": "hCVaX8mDKMN9Gkck",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "C7tXnFNN5a1Fvq6U"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=C7tXnFNN5a1Fvq6U&nonce=hCVaX8mDKMN9Gkck&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=54wTA4tDXUUGDXYNrXDs |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=C7tXnFNN5a1Fvq6U&nonce=hCVaX8mDKMN9Gkck&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=54wTA4tDXUUGDXYNrXDs |
2 | response | Response URL with query part |
2 | response | {'state': 'C7tXnFNN5a1Fvq6U', 'code': 'LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY'} |
2 | response | {'state': 'C7tXnFNN5a1Fvq6U', 'code': 'LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY'} |
2 | AuthorizationResponse | {
"code": "LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY",
"state": "C7tXnFNN5a1Fvq6U"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'C7tXnFNN5a1Fvq6U'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': 'LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY', 'state': 'C7tXnFNN5a1Fvq6U', 'grant_type': 'authorization_code', 'client_id': '54wTA4tDXUUGDXYNrXDs'}, 'state': 'C7tXnFNN5a1Fvq6U', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNTR3VEE0dERYVVVHRFhZTnJYRHMiLCAic3ViIjogIjU0d1RBNHREWFVVR0RYWU5yWERzIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHVk94Y3ludmVvMzNES3NNZ3piYlpJclh0ckxCRVpSUyIsICJleHAiOiAxNTYwNzg2ODIxLCAiaWF0IjogMTU2MDc4NjIyMX0.qCpm76kYISi5ylS68SuIqeMrrWuAv8R3jFK8pE6rJKAGJYXKZRnIJvw6o3SxNr-THdOPd_RwtAd6PQ2JK3pjDebMmaqc2NiD5PqqEQ5RKdIpd8ZCyClaD_ndSVc4Qv7V7s88qCt085ONrBB5_IKHx-jjhQ8efPq_FMxO_DABvYmlcFw9jwiXzhx8THgC1HD-IEu7R4esNWmqt8HU9c1zODte9bSVqBQBWB4uabdRaHJk-IgK8DfA8d-DPNjpgkROmjtTndiERH96wAsP9t5jmDklakCdcCkK7hGsPkskLWQsGTZg3UfGf_ZSQotycyMxLprKMdeTxFcOAjTRSk_BaA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"state": "C7tXnFNN5a1Fvq6U"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&code=LmYTeLX65GjJTRdbgLc9Y7ISqfW1SY&state=C7tXnFNN5a1Fvq6U&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNTR3VEE0dERYVVVHRFhZTnJYRHMiLCAic3ViIjogIjU0d1RBNHREWFVVR0RYWU5yWERzIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHVk94Y3ludmVvMzNES3NNZ3piYlpJclh0ckxCRVpSUyIsICJleHAiOiAxNTYwNzg2ODIxLCAiaWF0IjogMTU2MDc4NjIyMX0.qCpm76kYISi5ylS68SuIqeMrrWuAv8R3jFK8pE6rJKAGJYXKZRnIJvw6o3SxNr-THdOPd_RwtAd6PQ2JK3pjDebMmaqc2NiD5PqqEQ5RKdIpd8ZCyClaD_ndSVc4Qv7V7s88qCt085ONrBB5_IKHx-jjhQ8efPq_FMxO_DABvYmlcFw9jwiXzhx8THgC1HD-IEu7R4esNWmqt8HU9c1zODte9bSVqBQBWB4uabdRaHJk-IgK8DfA8d-DPNjpgkROmjtTndiERH96wAsP9t5jmDklakCdcCkK7hGsPkskLWQsGTZg3UfGf_ZSQotycyMxLprKMdeTxFcOAjTRSk_BaA&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'qXjsRRWQFn7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wwPJm8U_Rp5CtYCOZ7lAVchaCPaujnuWS0p2S-xq-4nW2qs8zJo5IiPVjJvB199Veg7o8DTTMFFoj38VNjLvU_JO17f0XmeHUR0Ajh3K5Aw2cwPbFJcIgJSywZkLDiQ4ox2IuHfe9oImt4ubnGHBt0rz3RgX5yVoB3NpOKV2MfEBSdk_cq2KWfcPP3I-dt9zJoZ81UqMjN38dn7H_z-KrzjUchFrhDfT-95Q5Dhp3U9WFwPDNIhFe_ZbX0Xak7reQCfhbBBRC5ko2wO--EezbHo8Oatwq9-69rpyPNPTkdvYziMH-fR5Xc1q8b4jLyq9EhvU9Pq1Bqg398wwnjg2d1GPvQ_ctDIitj3tUh9u8ApVM-TCWPv5qNgRQxDy9KMt5XL5r_ZTK121wNTzpR3C__SG9UmmuqIwfFILb9zvXC_UK2KWRwvuwO5eBc4Ec2hmUk99HVZQWQcq26Ega_Z2wyqOo2VdmggedG5R1Uv7v92dY26DOA.EzR9U4A6EvJI5p-Cf9UHBA', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "qXjsRRWQFn7XGi1ssTLe",
"expires_in": 3599,
"id_token": {
"at_hash": "w7Oo_Wrmwrrj7c6V6dLU1w",
"aud": [
"54wTA4tDXUUGDXYNrXDs"
],
"exp": 1560789641,
"iat": 1560786221,
"iss": "https://isamfed.com:30443/test",
"nonce": "hCVaX8mDKMN9Gkck",
"rt_hash": "90n6VhFOWCePBaLgUAk72A",
"sub": "testuser"
},
"refresh_token": "LNv0Jv0g0zV7WLVsOZrRG6nJVj41FhhOu78wftdJ",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'C7tXnFNN5a1Fvq6U', 'method': 'GET', 'authn_method': 'bearer_header'}
|
3 | request | {'body': None} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer qXjsRRWQFn7XGi1ssTLe'}} |
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 |