Uploaded image for project: 'OpenId Connect'
  1. OpenId Connect
  2. OIDC-347

Store the provider signing key in a blob store

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 2.31.0
    • Provider
    • Unknown

    Description

      The provider generates the RSA key pair used to sign the tokens it produces (and published through its JWKS endpoint) and stores it in the local permanent directory (<permdir>/oidc/jwkSet.json, see OIDCManager).

      To make possible to run XWiki without any persistent file storage (XWIKI-22847), this key should be stored in a blob store (XCOMMONS-3250) instead of directly on the filesystem. Without that, a new key is generated each time the permanent directory is lost, which invalidates all the tokens already produced, and breaks the clients which cached the previous public key.

      Note that the blob store API is only available since XWiki 17.10.0 while the extension currently requires XWiki 14.10.2, so this means either upgrading the minimum required XWiki version, or making the blob store support optional.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: