You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is single sign on support on the roadmap? Being able to create users and manage permissions via OIDC is very useful not only for enterprise applications, but also for smaller communities. On the https://v.st domain we have mastodon, matrix, gitea, nextcloud, hedgedoc, etc all centrally managed via keycloak so that onboarding a new member only requires adding their account in a single place.
Reacted by Tamino Hartmann, Peter K, clay, Will H, Anil Gulecha, muellpanda, Peter Buga, Bailey Matthews, Joker_, TimoYi | HearthCore | ZenWise and 54 more
Reacted by Alexander Adam, aeonoea, Matthieu, acidRain-burns, Sacha, Diego Rodriguez, Noé, Alessandro Vitali, jsddsfoh, edean and 5 more
I am holding off a bit because I want to figure out and decide on the technical design.
Can you brief me a bit on what you have in mind? Such as the database design and technical overview.
@Philipinho not to worry! I have done some exploratory work in a fork.
My suggested changes:
The initial scope would include a per-workspace OIDC configuration (only one per tenant), which would also include a list of domains that will have accounts JIT created upon login. It will also add a configuration option for enforcing OIDC.
This configuration will live in a seperate column to the existing settings column, as we don't want it getting selected by default and including the client secret to the frontend.
I am also proposing some slight simplifications to token management, I don't believe we're actually using the refresh token at all so I'd just suggest that we use a server-side HTTP-only cookie to hold the JWT.
We'd use the passport-openidconnect strategy. I haven't fully scoped this out, but I think we'd use a passport-custom strategy as a wrapper to then create a new OIDC strategy at runtime - to support per-tenant OIDC configuration.
@will2hew, after giving it a thought, I think I will keep this on hold.
I do not want to commit to features too quickly just yet, allowing me ample time to decide and settle on the long-term project viability and choices.
In the meantime, in no particular order, I would want to put more focus on Imports, Exports, Individual page sharing, Diagrams, translations, Mentions, Notifications, Internal link tracking (backlinks), and polishing the UI of existing features.
I also like the idea of supporting OIDC protocol. Integrating with openID would make it compatible with any identify provider supporting this (azure, auth0/okta)
Reacted by Evgenij, Nicholas Santiago, aeonoea, Wladimir Jack, LeeTeng2001, Tung, Jean3219, Diego Rodriguez, Julian B, Pierre and 1 more
security is not a feature that should be paywalled atleast consider adding header authentication
There's a direct competitor that's open source and has a very extensive SSO already, granted it lacks Workspaces and has other possible drawbacks however its at least a fundamental feature.
id assume that's the one with line in it's name?
Thank you, somehow this went under my radar.
I left app with book in the name for Docmost but really need OpenID/OIDC so checked out app with line in the name 😅.
Ironically it takes the reverse approach, it forces you to use SSO, I've now migrated over 🍻.
yeah I generally have no issue with devs monetizing their work and having paywalled features (a commercial version)
However as someone that works in the security space, pay-walling any security features just feels like bad practice. If you are going to have a open source and/or free offering it should, in my opinion get all the security features.
Reacted by aeonoea, Florian Le Frioux, JM-Enthusiast, Erik, matej-b and Firjen
Suggestion: if SSO is going to be paywalled (regrettable from a security standpoint, but understandable), then perhaps most of what the casual users want here could be supported by (1) requiring email before account activation, and (2) limiting signup to specific domains. That way I could allow account creation & automated password resets to everyone with an "user@mydomain" email address, even though it is not truly SSO, while not opening up my server to the random public.
Enterprise users that can afford to pay a per-user fee will still want proper SSO support because that lets them deauthorize users across all services at once, as well as providing better centralized security.
(This is the path Mattermost has chosen, btw.)
Reacted by Scott Baxter, Wirts, bsmithuk, LeeTeng2001, Jray, qezzo and zgzhang
I would love to use docs most for alot of NGOs in germany but this restriction wont let me. Why is this a paid feature? Why not make it a one time payment with a licence?
It's a shame that this feature is an "enterprise" feature. The only paid feature should be "We will host/backup/support it for you so you don't have the be worried about it".
We were looking at this for migrating from confluence to something else. An open source model would allow demoing it to mgmt and gain traction on the ground. This is quite hard it the first hurdle to login is another account.
In most case the business case "have an IT engineer to support it or have it as a service" it most likely will land on the service.
@will2hew Are there plans to merge upstream changes?
Since it's uncertain when @will2hew will complete the synchronization of upstream changes, I've merged part of upstream changes(v0.5.0) based on @will2hew work. If anyone needs to use it, they can directly use docker image :
docker pull zgzhang90/docmost-oidc
@zgzhang apologies I've been quite busy lately, if you're willing to make a PR into my fork then I'm happy to merge and add it to my existing docker registry people are already using
Activity
will2hew commentedon Jul 1, 2024
@Philipinho would you accept PRs to add this functionality
Philipinho commentedon Jul 1, 2024
@will2hew thank you for your interest.
I am holding off a bit because I want to figure out and decide on the technical design.
Can you brief me a bit on what you have in mind? Such as the database design and technical overview.
archef2000 commentedon Jul 1, 2024
Would also like to help.
will2hew commentedon Jul 1, 2024
@Philipinho not to worry! I have done some exploratory work in a fork.
My suggested changes:
settingscolumn, as we don't want it getting selected by default and including the client secret to the frontend.passport-openidconnectstrategy. I haven't fully scoped this out, but I think we'd use apassport-customstrategy as a wrapper to then create a new OIDC strategy at runtime - to support per-tenant OIDC configuration.Let me know what you think!
will2hew commentedon Jul 2, 2024
Philipinho commentedon Jul 2, 2024
archef2000 commentedon Jul 3, 2024
will2hew commentedon Jul 4, 2024
Philipinho commentedon Jul 4, 2024
Philipinho commentedon Jul 5, 2024
@will2hew, after giving it a thought, I think I will keep this on hold.
I do not want to commit to features too quickly just yet, allowing me ample time to decide and settle on the long-term project viability and choices.
In the meantime, in no particular order, I would want to put more focus on Imports, Exports, Individual page sharing, Diagrams, translations, Mentions, Notifications, Internal link tracking (backlinks), and polishing the UI of existing features.
francoisauclair911 commentedon Jul 12, 2024
I also like the idea of supporting OIDC protocol. Integrating with openID would make it compatible with any identify provider supporting this (azure, auth0/okta)
matbgn commentedon Jul 12, 2024
👍 And also other open source solutions like Authentik, Keycloak and others
will2hew commentedon Jul 12, 2024
I have created an implementation of OIDC on my fork here
https://github.com/will2hew/docmost
That you are welcome to use until we are able to upstream it
matbgn commentedon Jul 12, 2024
@will2hew Do you plan to maintain upstream compatibility in a reasonable manner? For example every 6 months or so?
will2hew commentedon Jul 12, 2024
That's very much the aim @matbgn
50 remaining items
pedroponte commentedon Feb 28, 2025
archef2000 commentedon Feb 28, 2025
Philipinho commentedon Feb 28, 2025
Lots of people are subscribed to this issue. Please kindly keep the conversation on-topic.
ados8 commentedon Mar 11, 2025
Thank you, somehow this went under my radar.
I left app with book in the name for Docmost but really need OpenID/OIDC so checked out app with line in the name 😅.
Ironically it takes the reverse approach, it forces you to use SSO, I've now migrated over 🍻.
WirtsLegs commentedon Mar 13, 2025
yeah I generally have no issue with devs monetizing their work and having paywalled features (a commercial version)
However as someone that works in the security space, pay-walling any security features just feels like bad practice. If you are going to have a open source and/or free offering it should, in my opinion get all the security features.
maaku commentedon Mar 14, 2025
Suggestion: if SSO is going to be paywalled (regrettable from a security standpoint, but understandable), then perhaps most of what the casual users want here could be supported by (1) requiring email before account activation, and (2) limiting signup to specific domains. That way I could allow account creation & automated password resets to everyone with an "user@mydomain" email address, even though it is not truly SSO, while not opening up my server to the random public.
Enterprise users that can afford to pay a per-user fee will still want proper SSO support because that lets them deauthorize users across all services at once, as well as providing better centralized security.
(This is the path Mattermost has chosen, btw.)
matbgn commentedon Mar 16, 2025
Maybe the french government is listening: https://github.com/suitenumerique/docs
christophwolff commentedon Apr 1, 2025
I would love to use docs most for alot of NGOs in germany but this restriction wont let me. Why is this a paid feature? Why not make it a one time payment with a licence?
MalfuncEddie commentedon Apr 3, 2025
It's a shame that this feature is an "enterprise" feature. The only paid feature should be "We will host/backup/support it for you so you don't have the be worried about it".
We were looking at this for migrating from confluence to something else. An open source model would allow demoing it to mgmt and gain traction on the ground. This is quite hard it the first hurdle to login is another account.
In most case the business case "have an IT engineer to support it or have it as a service" it most likely will land on the service.
@will2hew is you fork still maintained?
zgzhang commentedon Apr 16, 2025
@will2hew Are there plans to merge upstream changes?
zgzhang commentedon Apr 18, 2025
Since it's uncertain when @will2hew will complete the synchronization of upstream changes, I've merged part of upstream changes(v0.5.0) based on @will2hew work. If anyone needs to use it, they can directly use docker image :
docker pull zgzhang90/docmost-oidc
BTW, I've only performed basic validation.
will2hew commentedon Apr 18, 2025
@zgzhang apologies I've been quite busy lately, if you're willing to make a PR into my fork then I'm happy to merge and add it to my existing docker registry people are already using
Philipinho commentedon Apr 18, 2025
SSO was introduced in Docmost v0.9 as part of our Enterprise edition, with support for both SAML 2.0 and OIDC.
Please contact [email protected] to purchase a valid Enterprise license if your organization requires this feature.
If you are looking for community efforts, you may want to checkout:
Closing as this is now resolved.