[Feature Request]: Add "external_auth_id" option to the bookstack:create-admin command #2621

Closed
opened 2026-02-05 04:38:14 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ssddanbrown on GitHub (Jan 31, 2022).

Originally assigned to: @ssddanbrown on GitHub.

Describe the feature you'd like

Allow setting the external_auth_id field within the bookstack:create-admin command.

Describe the benefits this feature would bring to BookStack users

This will allow creation of admins from the command line that could then be accessed while SAML2/LDAP/OIDC auth is active.

Additional context

Requested on Discord: https://discord.com/channels/578552496637739008/578553371036876819/937720149971173376

Intended to ease setup automation in preconfigured LDAP environments.

Originally created by @ssddanbrown on GitHub (Jan 31, 2022). Originally assigned to: @ssddanbrown on GitHub. ### Describe the feature you'd like Allow setting the `external_auth_id` field within the `bookstack:create-admin` command. ### Describe the benefits this feature would bring to BookStack users This will allow creation of admins from the command line that could then be accessed while SAML2/LDAP/OIDC auth is active. ### Additional context Requested on Discord: https://discord.com/channels/578552496637739008/578553371036876819/937720149971173376 Intended to ease setup automation in preconfigured LDAP environments.
OVERLORD added the 🔨 Feature Request📖 Docs Update labels 2026-02-05 04:38:14 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 31, 2022):

Added in f83cc83877, Will be part of the next patch release.

Docs Changes

Need to add usage example to commands page (https://www.bookstackapp.com/docs/admin/commands/).

php artisan bookstack:create-admin --email="barry.booker@example.com" --name="Bazza" --external-auth-id="bbooker"
@ssddanbrown commented on GitHub (Jan 31, 2022): Added in f83cc83877125ec20ab0e277dc4d2255a404af59, Will be part of the next patch release. ### Docs Changes Need to add usage example to commands page (https://www.bookstackapp.com/docs/admin/commands/). ```bash php artisan bookstack:create-admin --email="barry.booker@example.com" --name="Bazza" --external-auth-id="bbooker" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2621