Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Registration-policy_uri
Test descriptionRegistration with policy_uri
Timestamp2019-06-17T15:22:50Z

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Note -->-->
1phase<--<-- 1 --- Webfinger -->-->
1not expected to doWebFinger
1phase<--<-- 2 --- Discovery -->-->
1provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 3 --- Registration -->-->
1register
kwargs:{'response_types': ['id_token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61584/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61584/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61584/static/jwks_61584.json', 'token_endpoint_auth_method': 'private_key_jwt', 'policy_uri': 'https://op.certification.openid.net:61584/static/policy.html'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61584/static/jwks_61584.json",
    "policy_uri": "https://op.certification.openid.net:61584/static/policy.html",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61584/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61584/authz_cb"
    ],
    "response_types": [
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "v4yt2NeIyxFhljhU98i3",
    "client_id_issued_at": 1560784968,
    "client_secret": "ksU4WpHWjE8vqAMhgdW1",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61584/static/jwks_61584.json",
    "policy_uri": "https://op.certification.openid.net:61584/static/policy.html",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61584/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61584/authz_cb"
    ],
    "registration_access_token": "3brAhxU9YgDZjUTxh1RD",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=v4yt2NeIyxFhljhU98i3",
    "response_types": [
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "v4yt2NeIyxFhljhU98i3",
    "nonce": "0A0QTbVz9QjNwHRN",
    "redirect_uri": "https://op.certification.openid.net:61584/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "XpMG3rlBjzrQcYf2"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=XpMG3rlBjzrQcYf2&nonce=0A0QTbVz9QjNwHRN&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61584%2Fauthz_cb&client_id=v4yt2NeIyxFhljhU98i3
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=XpMG3rlBjzrQcYf2&nonce=0A0QTbVz9QjNwHRN&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61584%2Fauthz_cb&client_id=v4yt2NeIyxFhljhU98i3
2http args{}
2responseURL with fragment
2responseid_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4Z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6tV3fDsyK6hV2dIfIvZpa0JZIQeSAu0s0rbovgZiLbUYl6S14IzqKog7AC1CRQCSuMg94Mn3m_B4xYruvaT5Li0xJBgT-CyeGs0tUAwc1w-3XSGyEgmG7wFD7dTKQhhUjaMeLC1IyzxsOtwmH6bU1VRBytORVlsrVaP9LwiHN4t1FFSy2xntZ9IHgj6TSjAF7v6PsKXejv2v0oR0fX0IbUgGBwzPmKw1h9X7eeERuz2pOf2FtVbZPp_noq6Oned5BtPMv5fSllA1tfOxYb8_vChdF_SKZLbbTFcj_H_GLtHvoe8W1bF62DNztYVfoDTvY9Deovsj_vs5jIRmSQbgi0hv5zOdd_dsBUlWXxy5Njzmz7CzEGGral5BCuVu58c3KAuYLdQCWA6o56SAye4rbIfztnLBUfOp6pkM6DSIO9kORcTBVQizD7ORQSYiHVx_ezUjqqhBDozcxyw22vmdMwQV6coaV2F8_NbCeVwKBd7oO-0URVJwtD7m5P53L-xmBiH7bhK-tg.p35066C4zxU4i9ZEpeR84g', 'state': 'XpMG3rlBjzrQcYf2'}
3AuthorizationResponse
{
    "id_token": {
        "aud": [
            "v4yt2NeIyxFhljhU98i3"
        ],
        "exp": 1560788389,
        "iat": 1560784969,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "0A0QTbVz9QjNwHRN",
        "sub": "testuser"
    },
    "state": "XpMG3rlBjzrQcYf2"
}
3phase<--<-- 5 --- Done -->-->
3end
3assertionVerifyAuthnResponse
3conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
3conditionDone: status=OK

Result

PASSED