Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

OIDC Configuration from docs makes synpase crash on startup #12714

@nhh

Description

@nhh

Description

Trying to configure synpase from here https://matrix-org.github.io/synapse/latest/openid.html#keycloak

Steps to reproduce

  • just enable the default oidc_providers
  • synpase crashes

Uncommenting this, causes synapse to crash.

oidc_providers:
  # Generic example
  #
  #- idp_id: my_idp
  #  idp_name: "My OpenID provider"
  #  idp_icon: "mxc://example.com/mediaid"
  #  discover: false
  #  issuer: "https://accounts.example.com/"
  #  client_id: "provided-by-your-issuer"
  #  client_secret: "provided-by-your-issuer"
  #  client_auth_method: client_secret_post
  #  scopes: ["openid", "profile"]
  #  authorization_endpoint: "https://accounts.example.com/oauth2/auth"
  #  token_endpoint: "https://accounts.example.com/oauth2/token"
  #  userinfo_endpoint: "https://accounts.example.com/userinfo"
  #  jwks_uri: "https://accounts.example.com/.well-known/jwks.json"
  #  skip_verification: true
  #  user_mapping_provider:
  #    config:
  #      subject_claim: "id"
  #      localpart_template: "{{ user.login }}"
  #      display_name_template: "{{ user.name }}"
  #      email_template: "{{ user.email }}"
  #  attribute_requirements:
  #    - attribute: userGroup
  #      value: "synapseUsers"

Error messages:

May 11 19:00:05 matrix-001 systemd[1]: Failed to start Synapse Matrix homeserver.
May 11 19:00:05 matrix-001 systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.
May 11 19:00:05 matrix-001 systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE

Version information

  • Version:
    {"server_version":"1.57.0","python_version":"3.8.10"}

  • Install method:
    Ubuntu apt-get install

  • Platform:
    Ubuntu

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