Skip to main content

Mediated Sign-In coverage

The Mediated Sign-In extension, version 1. Upstream: personalagentprotocol.org/docs/extensions/mediated-sign-in.

12 entries: 10 implemented, 1 open, 1 not-applicable. Each row is one atomic statement of the upstream text, with the SDK symbols that implement it (Python; TypeScript mirrors them), the tests and shared conformance cases that show it, and its status.

IDSectionLevelRoleRequirementSDK symbolTestsStatus
MED-1-01Mediated §1SHOULDcompanyA Company SHOULD offer Mediated Sign-In only until it can add Direct or Device Sign-In, and SHOULD stop offering it once those cover the scopes it grants.CompanyConfig—not-applicable: A Company's own decision; the reference company offers it to show the extension.
MED-2-01Mediated §2MUST NOTcompanyname is the parameter the Personal Agent sends. It MUST NOT be grant_type, scope, resource, a client authentication parameter such as client_id or client_assertion, or a parameter this extension defines, such as sign_in_id.CompanyConfig
MediatedSignIn.validate_fields
test_company_rules.py::test_a_company_cannot_publish_a_reserved_mediated_field
test_mediated.py::test_a_forbidden_field_name_is_refused
implemented
MED-2-02Mediated §2MUSTpersonal-agentsecret marks a value the Personal Agent MUST protect: never shown back to the User, written to logs, or sent anywhere else.MediatedSignInClient
PROTECTED_INPUTS
test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grant
test_mediated.py::test_a_one_time_code_continues_without_the_credentials_or_scope
implemented
MED-2-03Mediated §2MUST NOTcompanyThe Company MUST NOT grant scopes beyond those requested and listed here.CompanyService._mediated_granttest_company_rules.py::test_the_company_grants_only_the_extensions_scopes
test_security_review.py::test_finding_8_mediated_sign_in_refuses_unknown_or_missing_scopes
implemented
MED-6-01Mediated §6MUST NOTpersonal-agentPersonal Agents MUST NOT send credentials anywhere other than the token_endpoint of the Company's issuer, with this grant.MediatedSignInClient.sign_in
SessionClient.token_request
test_mediated.py::test_a_redirect_never_carries_the_credentials_elsewhere
test_security_review.py::test_finding_7_the_mediated_client_sends_credentials_once_and_follows_no_redirect
implemented
MED-6-02Mediated §6MUSTpersonal-agentA Personal Agent MUST choose which stored credentials to send by the Company's issuer, never by the field labels or the endpoint,ProtectedInputRequest
MediatedSignInClient.sign_in
test_company_rules.py::test_mediated_sign_in_in_a_session_another_account_used_signs_in
test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grant
implemented
MED-6-03Mediated §6MUSTpersonal-agentand MUST show the Company's organization.name and domain whenever it asks the User for credentials or a code.ProtectedInputRequest
PapSignIn
test_company_rules.py::test_mediated_sign_in_in_a_session_another_account_used_signs_in
test_mediated.py::test_a_one_time_code_continues_without_the_credentials_or_scope
test_ui.py::test_direct_and_mediated_answers
implemented
MED-6-04Mediated §6MUSTpersonal-agentAfter a sign-in ends, with tokens or an error other than code_required, the Personal Agent MUST either discard the credentials or keep them only in a credential store the User chose, such as a password manager.MediatedSignInClient.sign_in
MediatedSignInClient._collect
test_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grant
test_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_text
implemented
MED-6-05Mediated §6MUST NOTpersonal-agentIt MUST NOT keep them anywhere else, including model context and logs (spec 10.2).MediatedSignInClienttest_canaries.py::test_no_credential_reaches_logs_errors_urls_or_model_textimplemented
MED-6-06Mediated §6SHOULD NOTpersonal-agentAfter the User or the Company revokes the Personal Agent's access (spec 5.5), the Personal Agent SHOULD NOT sign in again with stored credentials unless the User asks it to.MediatedSignInClienttest_mediated.py::test_the_declared_fields_go_to_the_token_endpoint_as_the_grantimplemented
MED-6-07Mediated §6SHOULDpersonal-agentA Personal Agent SHOULD use Direct or Device Sign-In rather than Mediated Sign-In when the Company offers it and its scopes cover the task.OAuthServerMetadata.offers_direct
OAuthServerMetadata.offers_device
—open: The SDK reports what a Company offers; choosing between sign-in types is the host's.
MED-2-04Mediated §2SHOULDcompanyscopes lists the scopes Mediated Sign-In can grant. The Company SHOULD also include them in scopes_supported.CompanyConfigtest_draft_03.py::test_scopes_are_the_companys_described_and_never_poppyimplemented

Conformance case IDs name protocol/fixtures/conformance cases; see the conformance report for their outcome in every language pairing.