Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom OAuth Provider #88

Closed
dariusk opened this issue Mar 28, 2022 · 3 comments
Closed

Custom OAuth Provider #88

dariusk opened this issue Mar 28, 2022 · 3 comments

Comments

@dariusk
Copy link

dariusk commented Mar 28, 2022

(Thanks for your help earlier today.)

My organization provides OAuth for a few different services and we'd like to use it for Loomio, too. I see that you support Facebook, Twitter, Google, and Slack from within the .env file, but I'd like to use a different OAuth service tied to a login.example.com that we host.

For most apps that don't support custom OAuth I use Vouch, which acts as a wrapper to the app but also requires that I'm able to edit the nginx config on the server that the application is hosted. I could edit files directly in the nginx-proxy docker container but that seems a little brittle and not best practice, right?

How do self-hosting orgs that use their own OAuth manage this?

@dariusk
Copy link
Author

dariusk commented Mar 28, 2022

I'm also happy to run Loomio on its own in production but not with loomio-deploy, but that seems to be not recommended, as well.

@robguthrie
Copy link
Member

Hi, it should be possible to get loomio to support a custom oauth, but I'm not sure how right now. If you need we could look into adding this as some sponsored development.

We do support SAML really well though, if that's possible with your setup?

You can edit the nginx.conf file within the loomio-deploy directory you have. It's currently just one line.

@robguthrie
Copy link
Member

Custom OAUTH is added and documented now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants