autorun script when user logs in first time after registration (first login via SAML) #1700

Closed
opened 2026-02-05 01:39:37 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Venkinovec on GitHub (May 2, 2020).

Describe the feature you'd like
When user logs in for the first time I want to run some simple script to autocreate him a book(which he owns).

Describe the benefits this feature would bring to BookStack users
This could be a replacement for wikipedia namespaces

Additional context
The script could also do things like set him profile picture depending on his role given from SAML for example.
We use bookstack with SAML as closed wiki with documentation.
I want for everyone who logs in to have his own book and not be able to create any more books.

Originally created by @Venkinovec on GitHub (May 2, 2020). **Describe the feature you'd like** When user logs in for the first time I want to run some simple script to autocreate him a book(which he owns). **Describe the benefits this feature would bring to BookStack users** This could be a replacement for wikipedia [namespaces](https://en.wikipedia.org/wiki/Wikipedia:Namespace) **Additional context** The script could also do things like set him profile picture depending on his role given from SAML for example. We use bookstack with SAML as closed wiki with documentation. I want for everyone who logs in to have his own book and not be able to create any more books.
Author
Owner

@ssddanbrown commented on GitHub (May 2, 2021):

As of v21.04 this function can be done via the logical theme system: https://github.com/BookStackApp/BookStack/blob/master/dev/docs/logical-theme-system.md

@ssddanbrown commented on GitHub (May 2, 2021): As of v21.04 this function can be done via the logical theme system: https://github.com/BookStackApp/BookStack/blob/master/dev/docs/logical-theme-system.md
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1700