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": "qodwRug5aZl9O4c7OECi",
"client_id_issued_at": 1560786164,
"client_secret": "k3hfZA8MsQZDj6swMmz7",
"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": "NcNoA8M2CEtPMO3zO8Rl",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=qodwRug5aZl9O4c7OECi",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "qodwRug5aZl9O4c7OECi",
"nonce": "dd0QJzSlDBjLoQMd",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "sg5G3CUEyk3kykfO"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=sg5G3CUEyk3kykfO&nonce=dd0QJzSlDBjLoQMd&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=qodwRug5aZl9O4c7OECi |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=sg5G3CUEyk3kykfO&nonce=dd0QJzSlDBjLoQMd&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=qodwRug5aZl9O4c7OECi |
2 | response | Response URL with query part |
2 | response | {'state': 'sg5G3CUEyk3kykfO', 'code': 'L4jfZmtA8gADFCTFJtFBhTQ33xitFT'} |
2 | response | {'state': 'sg5G3CUEyk3kykfO', 'code': 'L4jfZmtA8gADFCTFJtFBhTQ33xitFT'} |
2 | AuthorizationResponse | {
"code": "L4jfZmtA8gADFCTFJtFBhTQ33xitFT",
"state": "sg5G3CUEyk3kykfO"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'sg5G3CUEyk3kykfO', 'authn_method': 'private_key_jwt'}, 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': 'L4jfZmtA8gADFCTFJtFBhTQ33xitFT', 'state': 'sg5G3CUEyk3kykfO', 'grant_type': 'authorization_code', 'client_id': 'qodwRug5aZl9O4c7OECi'}, 'state': 'sg5G3CUEyk3kykfO', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicW9kd1J1ZzVhWmw5TzRjN09FQ2kiLCAic3ViIjogInFvZHdSdWc1YVpsOU80YzdPRUNpIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJWcENpV1h6THJPamNXRGMya3ZjdVZnNWZDMW44cU94SCIsICJleHAiOiAxNTYwNzg2NzY2LCAiaWF0IjogMTU2MDc4NjE2Nn0.pbcRG0j5EwsW4EyyVJVf8MmKBzMe25oe67-6gZJABy4S-RHEDeAhwZ6cxzgBJNk3Nba-pfbtwYm5_8mDFTYJWhJN6t7nqNlxL5aeQLEEA442gnQ4YDLOu_XYxGOzNFzUGRU8dxuShnsnwYfTq2x1hbjaJh7D0NUkFJ0AWrkmHBv5CdcuaaoGwyN5zbmXB-Y9rDRnXHORf7v0K8PQ6yyquNe_PwjX6oOlH4dUh5eu8Osj3LzF5oqDcFgNOSuw9w6zx1ZV_KxqvsIi0cZ2QvJIDetYMvpvM3yZBK9YurH6BoJXGVpjjrwTK3Ib3F1IqFwteSZVlKPEU6APOQdpVJ3-tQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "L4jfZmtA8gADFCTFJtFBhTQ33xitFT",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"state": "sg5G3CUEyk3kykfO"
}
|
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=L4jfZmtA8gADFCTFJtFBhTQ33xitFT&state=sg5G3CUEyk3kykfO&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAicW9kd1J1ZzVhWmw5TzRjN09FQ2kiLCAic3ViIjogInFvZHdSdWc1YVpsOU80YzdPRUNpIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJWcENpV1h6THJPamNXRGMya3ZjdVZnNWZDMW44cU94SCIsICJleHAiOiAxNTYwNzg2NzY2LCAiaWF0IjogMTU2MDc4NjE2Nn0.pbcRG0j5EwsW4EyyVJVf8MmKBzMe25oe67-6gZJABy4S-RHEDeAhwZ6cxzgBJNk3Nba-pfbtwYm5_8mDFTYJWhJN6t7nqNlxL5aeQLEEA442gnQ4YDLOu_XYxGOzNFzUGRU8dxuShnsnwYfTq2x1hbjaJh7D0NUkFJ0AWrkmHBv5CdcuaaoGwyN5zbmXB-Y9rDRnXHORf7v0K8PQ6yyquNe_PwjX6oOlH4dUh5eu8Osj3LzF5oqDcFgNOSuw9w6zx1ZV_KxqvsIi0cZ2QvJIDetYMvpvM3yZBK9YurH6BoJXGVpjjrwTK3Ib3F1IqFwteSZVlKPEU6APOQdpVJ3-tQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'UCRvyp5P9FFRrAtHVm6s', 'refresh_token': 'uiD9fBs54UM3piARjySSav84iOsDTKHyc4OLcUIA', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU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YIHFfOYStGpGZIxNKn3KgXySH0my1kEZP9v-CCom5c3kKp5GPhbKujG9qKtRyef0rlhy9jL4JvSBghghDKFgmvYK1PwrI8qat2E6zSgDKhOP9AWoooFY3yzjEHA5WoiNsAg-uklR09ehdCWkIEbmOJMgFumqH4enZF2jMFh8g9xrb-gtI4kN7Dbv5JQRoAkVZcFLZtGbghK9VZ8qZZtirS0pqcmopTkQ3vAuwFCPWzhnamqu0ltjteebBU9lYfpmugsujNylGMNuOaw9uQccczeMpIWeqMKj__E2A_fkscpDs7cNmvHAkjhBdhG4ybiSrmGRaBSjqgTni-JRsLy1OGwsRYfR9KDX-Iq2bwjC8YQ.s1CTKwSJa0lFKqzBKZ5WwQ', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "UCRvyp5P9FFRrAtHVm6s",
"expires_in": 3599,
"id_token": {
"at_hash": "GbiZOG9oLVjI2kTST2H6ow",
"aud": [
"qodwRug5aZl9O4c7OECi"
],
"exp": 1560789586,
"iat": 1560786166,
"iss": "https://isamfed.com:30443/test",
"nonce": "dd0QJzSlDBjLoQMd",
"rt_hash": "irNql0Ex1HH3Hb7vL4Gi0g",
"sub": "testuser"
},
"refresh_token": "uiD9fBs54UM3piARjySSav84iOsDTKHyc4OLcUIA",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- Done -->--> |
2 | end | |
2 | assertion | VerifyResponse |
2 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
2 | condition | Done: status=OK |