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
- relates to
-
XWIKI-22847 Make possible to use XWiki without any persistent file storage
-
- Open
-
-
XCOMMONS-3250 Make as easy as possible for various features to use an object store
-
- Closed
-