XWiki
Last modified by Pierre Jeanjean on 2026/03/25 13:32
Developer
This module provides a AuthenticationManager instance for the XWiki backend.
Utils
The module @xwiki/cristal-authentication-xwiki-utils contains reusable code for other AuthenticationManager implementations for XWiki (e.g., electron-specific authentication):
Cristal 1.2.0+
Function fetchUserDetails
Fetches user data from XWiki's user REST endpoint.
fetchUserDetails(userDetailsUrl: string, authorizationHeader: string): Promise<UserDetails>;Parameters
- userDetailsUrl: string
the URL to the REST endpoint to use
- authorizationHeader: string
value for the Authorization header

This project is being financed by the French State as part of the France 2030 program
Ce projet est financé par l’État Français dans le cadre de France 2030