Outline - a Notion-like open source app
-
marcusquinnreplied to klawitterb on Mar 6, 2022, 2:21 AM last edited by marcusquinn Mar 6, 2022, 3:51 PM
@klawitterb Nice find and R&D! Looks like this might be just the thing for making Cloudron's LDAP useable by external apps:
-
-
Update available: Outline v0.63.0
-
-
Now that Cloudron adds authentication headers with the proxyAuth addon, maybe the easiest solution to integrate authentication is to use those headers in outline. I guess that might be as simple as adding a new file to the /server/routes/auth/providers dir. This would simplify the cloudron package because it wouldn't have to set up and run keycloak.
https://github.com/outline/outline/tree/main/server/routes/auth/providers
Then the only barrier to packaging for cloudron would be the hypothetical s3/minio addon mentioned above.
-
@infogulch I think that's doable. I'll see if I can get it working.
-
-
Update available: Outline v0.64.3
PS: Still no time to look into auth using Cloudron ProxyAuth
-
-
jdaviescoatesreplied to nj on Jun 28, 2022, 11:49 AM last edited by jdaviescoates Jun 28, 2022, 12:06 PM
@nj said in Outline - a Notion-like open source app:
PS: Still no time to look into auth using Cloudron ProxyAuth
praying that you'll find the time! Hopefully then @staff will be able to take it from from there get this app into the App Store! (perhaps they could take a look at adding the ProxyAuth too? )
Edit: or perhaps another better/simpler(I've no idea if it's either, rieally! ) option would be to connect the outline app to the Cloudron LDAP Directory Server https://docs.cloudron.io/user-management/#directory-server= ?
-
@jdaviescoates I've got this running using dex serving as a connection between oidc and cloudron ldap. Works pretty well.
If you're interested you can find the code in my repo https://git.apehost.de/cloudron-apps/outline -
@klawitterb that's great, thanks! But I wanna get Outline in the App Store.
Hopefully @staff can take a look at both these custom Outline packages and do whatever needs doing to get them into the store
-
Perhaps AppFlowy can offer an alternative in the meantime?
Local installers available:
-
Outline is paid, it is better to add a free plan also.
There are also free and open source notion alternatives like Logseq or focalboard which can be checked herehttps://developingdaily.com/article/technology/best-notion-alternatives-open-source-and-free/314
-
-
@Vikas-jk said in Outline - a Notion-like open source app:
Outline is paid, it is better to add a free plan also.
There are also free and open source notion alternatives like Logseq or focalboard which can be checked herehttps://developingdaily.com/article/technology/best-notion-alternatives-open-source-and-free/314
Hosted Outline is paid, that doesn't apply to self-hosted. Outline is also free (as in freedom) open source software too.
-
-
-
-
-
-
-
-
The implementation of https://git.apehost.de/cloudron-apps/outline seems to be working. Is there some plan to publish it in the store? @staff
-
-
@matbrgz said in Outline - a Notion-like open source app:
@girish sorry to bother you again about this, could you please take a look here? This app is vital to my company.
And not just you either, it's the second most upvoted app request on the wishlist after Wireguard VPN. Be great to have it on Cloudron!
-
Yup, @vladimir-d is looking into this next week.
-
So after investigation, the situation is this:
- Outline does not support any local authentication i.e it has no local user database.
- The developers have indicated that there is possibly LDAP in the enterprise version of the product. I haven't tried that, so I don't know if it's there.
- Authentication can be done via Google/GitHub (?) and other external services.
- OpenID is supported
Current package is using dex to bridge OpenID connect and Cloudron LDAP. This can be difficult to migrate in the long run (and is also two really apps in one).
So, we can't provide Outline immediately. We are going to first add OpenID connect as an addon. We used to have OAuth before as addon that did not work out well. We will try this for 7.4.
-
@girish It has never been easy to run. I had it running once years ago using Google or Slack, all hand-rolled and installed, and had to use this super niche code tweak that anyone who ever found it once could never find it again.
Just now I went over to the site to try to login with Slack... failed. I know this is a cool app, but I don't think it is going to be worth the hassle getting it to work. Focus on something else! -
@girish said in Outline - a Notion-like open source app:
add OpenID connect as an addon
Having OpenID Connect as an addon sounds great to me.
-
@scooke yeah, the upstream author has indicated that they won't accept changes not related to their SaaS. But maybe this has changed because they offer selfhosted plans. In any case, having OIDC in Cloudron won't hurt.
Also, I think I remember seeing the one line patch you mentioned...
-
-
@matbrgz I think we are almost there. With 7.4, we introduce OIDC. In theory, outline supports OIDC but we have to check.
OIDC support in
OutlookOutline itself - the situation is quite unclear to me, since it's not documented anywhere clearly. Do you know anything about this? -
@girish OIDC in Outlook or Outline? I can help run down answers to MS related questions, but that might be a typo?
-
@doodlemania2 w00t, sorry. I meant outline
-
@girish Iโve used their env sample as a reference for configuring it with Dex in my package: https://github.com/outline/outline/blob/main/.env.sample
-
-
hello! I stumbled upon this again and I wonder if any of you have any luck with a self-hosted install of Outline but using Cloudron's OIDC. Cloudron documentation of it it's not very complete for a newbie like me.
-
@chetbaker now that we have OIDC, we will be looking into outline again. But this will take a bit. But feel free to experiment on your own, just wanted to put this note.
-
-
-
@girish said in Outline - a Notion-like open source app:
@chetbaker now that we have OIDC, we will be looking into outline again. But this will take a bit. But feel free to experiment on your own, just wanted to put this note.
Did you ever get around to look at Outline again @girish - be great to have it on Cloudron!
-
Is the OIDC integration (and the necessary time to integrate it) the only "blocking" factor here or is there any other element of the package/source preventing a release in Cloudron?
This app would be a great addition indeed. -
-
@girish said in Outline - a Notion-like open source app:
@matbrgz I think we are almost there. With 7.4, we introduce OIDC. In theory, outline supports OIDC but we have to check.
OIDC support in
OutlookOutline itself - the situation is quite unclear to me, since it's not documented anywhere clearly. Do you know anything about this?I was able to get OIDC working without any problems with an instance outside of cloudron using their documentation in the env.example:
# To configure generic OIDC auth, you'll need some kind of identity provider. # See documentation for whichever IdP you use to acquire the following info: # Redirect URI is https://<URL>/auth/oidc.callback OIDC_CLIENT_ID= OIDC_CLIENT_SECRET= OIDC_AUTH_URI= OIDC_TOKEN_URI= OIDC_USERINFO_URI= # Specify which claims to derive user information from # Supports any valid JSON path with the JWT payload OIDC_USERNAME_CLAIM=preferred_username # Display name for OIDC authentication OIDC_DISPLAY_NAME=OpenID Connect # Space separated auth scopes. OIDC_SCOPES=openid profile email
What's not working for you?
-
girish Staffreplied to andreasdueren on Oct 31, 2023, 3:05 PM last edited by girish Oct 31, 2023, 4:26 PM
@andreasdueren
mmm, so you set this up against Cloudron's OIDC server? Last we checked, leantime needed a key mode authentication to OIDC which we haven't implemented yet. But maybe this has since been fixed?edit: whoops, sorry, completely different apps
-
@girish said in Outline - a Notion-like open source app:
Last we checked, leantime
This is about Outline, not Leantime
-
@jdaviescoates edited my post
-
+1 for Outline. It's very nicely designed and modern.
-
@bmann said in Outline - a Notion-like open source app:
+1 for Outline
Upvote the original post at the top of the thread (had a quick look a don't think I spotted your icon in the upvoters)
-
Hey, I've put together an OIDC enabled Cloudron app here: https://gist.github.com/walski/e5d5b7ddb781f028b071b6ca12c460cd this runs just fine on our Cloudron Happy to make this "app-store-ready" if somebody can let me know what exactly that entails
-
Well done @walski
For App Store ready, maybe @staff can confirm, but these are good steps :- add a LICENCE (copy from source repo ?)
- add a README (credit the source repo and provide a link)
- optionally add a POSTINSTALL.md if there any post-install steps
- maybe add a repo to https://git.cloudron.io/, although I think @staff need to permission your account to create repos, and maybe they can work with the link you provided
I'm sure there will be several keen to try it out
-
jdaviescoatesreplied to walski on Nov 3, 2023, 2:49 PM last edited by jdaviescoates Nov 3, 2023, 2:49 PM
@walski said in Outline - a Notion-like open source app:
Hey, I've put together an OIDC enabled Cloudron app here: https://gist.github.com/walski/e5d5b7ddb781f028b071b6ca12c460cd this runs just fine on our Cloudron
Thank you!
Happy to make this "app-store-ready" if somebody can let me know what exactly that entails
Have a read of https://docs.cloudron.io/packaging/publishing/
Although my understanding is that one of the things that needs doing is writing tests and I can't find anything about doing that in the guides/ tutorials
But @staff can advise
-
I've updated the packaged app to include a license, run the app as the
cloudron
user and also cleaned up the manifest a bit. Happy to help more if there is anything left to do -
@walski awesome ! Do you have a repo instead of a github gist ?
I can also give you access to https://git.cloudron.io/cloudron/outline-app and you can commit it there directly. If you can create an account in git.cloudron.io and give me your id, I can give you access.
-
jdaviescoatesreplied to girish on Nov 7, 2023, 11:48 AM last edited by jdaviescoates Nov 7, 2023, 12:34 PM
@girish exciting that it sounds like we're edging towards having Outline in the Cloudron App store (and with OIDC too!)
-
@girish I've DM'd you. You can also just clone the gist as a git repo: git@gist.github.com:e5d5b7ddb781f028b071b6ca12c460cd.git
-
@girish I've opened a merge request as I wasn't sure if I should just overwrite the existing app in that repo. That merge request does exactly that, complete replacement with the app I put together. I've kept the existing CI/CD config but nothing else.
-
-
-
-
Post 100 of 124