AppFlowy-Cloud icon indicating copy to clipboard operation
AppFlowy-Cloud copied to clipboard

OAuth2 options

Open ayan-iiitd opened this issue 9 months ago • 2 comments

Is it possible to add OAUth2 options with self hosted Gitea/GitLab?

ayan-iiitd avatar Mar 28 '25 17:03 ayan-iiitd

or any generic Oauth2 provider while at it ? Kubernetes, Authentik, Authelia, Zitadel....there are so many out there.

One of the reasons people like to self-host is not having to rely on big players and their services. That includes Authentication. Not having this option kinda defeats the whole purpose of self-hosting AppFlowy.

olluz avatar Mar 29 '25 21:03 olluz

We actually do have support for SAML 2.0. There is a documentation for integrating with Okta here: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/doc/OKTA_SAML.md , but there are users who have successfully done so for Authentik and Google Workplace using similar steps.

Some slight update is required for the doc, which i will do in a short while. Meanwhile, the above doc, + the comments here: https://github.com/AppFlowy-IO/AppFlowy-Cloud/issues/958 , should cover the setup.

khorshuheng avatar Mar 31 '25 09:03 khorshuheng