How to setup Discord OmniAuth for my GitLab instance?

Hey there,

I was wondering how i could setup OmniAuth for discord on my GitLab instance running on a docker container? I have already found a gem that I can use for it, but I’m not exactly sure how to use it as the instance is running in a container. The gem I found can be viewed here: Omniauth Discord by adaoraul.


This is a Gitlab forum, so we can only help with Gitlab. The Gitlab docs show how to configure oauth:

I guess the second link if you are wanting Gitlab to use your discord login. As for Omniauth Discord if you are unsure how to use it, I suggest you ask Adaoraul and open an issue here: GitHub - adaoraul/omniauth-discord: Discord OAuth2 Strategy for OmniAuth

Since his project is for integrating discord with omniauth, if you need help setting up omniauth then open an issue here: GitHub - omniauth/omniauth: OmniAuth is a flexible authentication system utilizing Rack middleware. they have detailed information on how to do everything with their product.

1 Like

Yes, what you’ve said is alright, but how would I set it up for a GitLab instance running inside a docker container?