Skip to content

Add support for preferred_username claims #8835

@Combs7th

Description

@Combs7th

@claude - Let's update the Mattermost Product Documentation to reflect the System Admin OpenID username-mapping product experience captured via Engineering PR mattermost/mattermost#30852

Scope & constraints

  • Review Engineering PR and update only the admin product documentation at docs.mattermost.com based on explicit PR evidence.
  • Keep the update tightly scoped to the new admin option that allows supported providers to use the preferred_username claim as the Mattermost username.

Do NOT modify:

  • changelogs
  • important upgrade notes
  • version archive
  • removed/deprecated features
  • unsupported legacy releases

Stay at capability level, not implementation level:

  • Document what admins can configure and what happens when enabled
  • Document only supported-provider behavior evidenced by the PR
  • Do not explain code paths, internal structs, auth flow internals, or test implementation details
  • Required doc touchpoints (pages/sections if known; otherwise "identify likely pages")

Identify the most likely existing admin docs pages/sections covering:

  • OpenID Connect configuration
  • GitLab / Entra ID / M365 sign-in configuration, if those pages describe username mapping or provider-specific admin options
  • Any config/settings reference that documents the OpenID admin setting surfaced in System Console
  • If multiple pages mention how Mattermost usernames are sourced during OAuth/OpenID signup, update only the minimum necessary pages.

Output requirements

Return:

  • Whether a doc update is necessary
  • The specific page(s)/section(s) selected
  • A short rationale for why those are the right touchpoints
  • A before/after snippet for each touched section
  • Any optional follow-up notes that are PR-supported but not essential for the first-pass update

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