Skip to content

Report registered clients whose stored metadata breaks the shared client rules #365

Backlog

Description

@dfcoffin

Follow-up from the owner's design review of #361 (#344 part 3b).

Problem

Since #361, a client must meet the shared client-metadata rules (ClientMetadataValidator) when it is created, and an update checks the redirect URIs and scopes it sets. A client stored before these rules is not re-checked: it keeps a redirect URI or scope the rules now refuse until an administrator changes that field. Such data exists in the seeds (the disabled MySQL V3_0_0__add_default_data_and_test_clients.sql.disabled: Upload_Admin_Access, com.example.espi:// redirect URIs) and may exist in any deployed database (e.g. http:// redirect URIs where prod now requires https, #298). Nothing tells the operator.

Proposed change

Make non-conforming clients visible, without blocking them:

Whether non-conforming clients should also be refused tokens is a separate decision for the owner.

Acceptance

  • An operator can list every client that breaks a rule, and which rule.
  • No seed creates a client that breaks the rules.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions