Add Social Connections for self-hosted GitLab instances?
I'm looking to migrate from Auth0. We currently support login from self-hosted GitLab instances:
- Multiple GitLab social connections
- Custom OAuth
authorizate
, token
and userinfo
URL
Is this currently supported in Kinde?5 Replies
Hi Brendan, Thanks for reaching out.
I will get back to you on this shortly.
Thanks
I will get back to you on this shortly.
Thanks
Hi, Brendan.. Thanks for your patience
Kinde does support GitLab social connections. You can enable users to sign up and sign in using their GitLab credentials by creating a GitLab app with the required scopes (
The current GitLab integration appears to be designed for the standard GitLab.com service.
For migrating from Auth0, Kinde does provide import functionality that supports Auth0 NDJSON exports. The import process can handle various authentication methods including social connections.
Here are our documentation to refer for more details:
- https://docs.kinde.com/authenticate/social-sign-in/gitlab/
- https://docs.kinde.com/manage-users/add-and-edit/import-users-in-bulk/#prepare-ndjson-data-auth0-imports
Hope this helps, Let me know if anything needs clarification.
Thanks
Kinde does support GitLab social connections. You can enable users to sign up and sign in using their GitLab credentials by creating a GitLab app with the required scopes (
read_user
, openid
, profile
, email
)The current GitLab integration appears to be designed for the standard GitLab.com service.
For migrating from Auth0, Kinde does provide import functionality that supports Auth0 NDJSON exports. The import process can handle various authentication methods including social connections.
Here are our documentation to refer for more details:
- https://docs.kinde.com/authenticate/social-sign-in/gitlab/
- https://docs.kinde.com/manage-users/add-and-edit/import-users-in-bulk/#prepare-ndjson-data-auth0-imports
Hope this helps, Let me know if anything needs clarification.
Thanks
about.gitlab.com
The most-comprehensive AI-powered DevSecOps platform
From planning to production, bring teams together in one application. Ship secure code more efficiently to deliver value faster.
Hi Abdiwak,
I was aware that Kinde supported gitlab.com, however I need to allow connections from self-hosted Gitlab instances, e.g. gitlab.example.org
Is there any way to do this?
Thanks
Hey, Brendan..
Thanks for your patience.
To make absolutely sure I give you the correct guidance, I’m going to spin up a test environment that mirrors self-hosted GitLab setup and walk through the OAuth flow end-to-end in Kinde. I’ll update you as soon as I’ve confirmed.
Thanks Hi Brendan, Thanks again for your patience. After reviewing the current capabilities and documentation from Kinde, here is what you can try, Integrating a self-hosted GitLab instance (
Once you create a custom connection via the Management API, users can authenticate with it. You specify which applications can use the connection through the
Thanks
Thanks for your patience.
To make absolutely sure I give you the correct guidance, I’m going to spin up a test environment that mirrors self-hosted GitLab setup and walk through the OAuth flow end-to-end in Kinde. I’ll update you as soon as I’ve confirmed.
Thanks Hi Brendan, Thanks again for your patience. After reviewing the current capabilities and documentation from Kinde, here is what you can try, Integrating a self-hosted GitLab instance (
gitlab.example.com
) using a custom connection via Kinde's Management API.
Instead of using the default GitLab.com integration, you can create a custom OAuth2 connection in Kinde that points to your self-hosted GitLab instance by:
- Registering an OAuth application in your GitLab instance
- Configuring Kinde to use your instance's custom OAuth endpoints:
- Authorization URL: https://gitlab.example.com/oauth/authorize
- Token URL: https://gitlab.example.com/oauth/token
- User Info URL: https://gitlab.example.com/oauth/userinfo
- Creating custom connection via the Kinde Management API,
- Create connections using POST /api/v1/connections
- Update connections using PATCH /api/v1/connections/{connection_id}
- Configure social
Once you create a custom connection via the Management API, users can authenticate with it. You specify which applications can use the connection through the
enabled_applications
parameter.
Once this is set up, users will be able to sign in to your Kinde-powered apps using credentials from your self-hosted GitLab.
Let me know if this helps,Thanks
Awesome, thanks @Abdiwak - Kinde