Gitlab is locally installed - How to point this local ip for social sign-in in keycloak UI ( 23.0.0 )

Hi,
Scenario: In my local i have gitlab server up and running now i need to point this ip and port in social sign-in, but it is redirecting to " https://gitlab.com/users/sign_in " instead i want it to redirect to " https://localhost/users/sign_in "
Thanks

The Gitlab “social provider” in Keycloak is really for connecting to the public Gitlab. If you want to connect to a local one, you can do the same thing with an OpenID Connect v1.0 provider.

1 Like

I have configured the same as open id connect v1.0, for some reason am getting as client not found

could you please help here!!

That’s not a lot of information. Where does that happen in the flow? Before the redirect to the remote IdP? After? Is there a Client configured with the same client_id you are using in your auth url?

This is how i have configured



The above configured client details are my locally hosted gitlab credentials

Additionally I didn’t create any keycloak client, do I need to create one?

This is actually happening while it is redirecting to the local gitlab

The issue got resolved by modifying the below configuration


Here http://localhost is my remote idp by the way.

1 Like