1 KiB
1 KiB
kanidm-up-pass
A small Vue interface to reset Kanidm user and POSIX passwords to the same value from a credential reset token.
Run
npm install
npm run dev
Build for production:
npm run build
Usage
- Open the app with a reset token in the URL:
http://localhost:5173/?token=<credential-update-intent-token> - Enter your new password and confirm it.
- Submit.
The app connects directly to Kanidm:
POST /v1/credential/_exchange_intentwith the token.POST /v1/credential/_updatewithpassword.POST /v1/credential/_updatewithunixpassword.POST /v1/credential/_commit.
The UI supports English and German and lets users switch language in the page header.
Configuration
Set your Kanidm base URL in .env:
cp .env.example .env
Example:
VITE_KANIDM_BASE_URL=https://kanidm.example.com
Notes
- The token is read from the URL and then removed from the browser address bar.
- No backend is used; browser CORS access to Kanidm must be allowed for your app origin.