Where can I learn how to create a new custom social connection

Hello Guys, I am new to auth0 and Oauth in general and I want to put a social connection using Gitlab to my app using Auth0.

However, there is no option for Gitlab under Connection β†’ Social.

There is however a Custom Social Connection in the extension tab.

I am confused with these four options under adding New Social Connection settings:

  1. Fetch User Profile Script
  2. Authorization URL
  3. Token URL
  4. Scope

I tried searching for answers and found and read this: Connect Apps to Generic OAuth2 Authorization Servers
and also in Gitlab about this: OAuth 2.0 identity provider API | GitLab
But this is not enough.

Do you know any documentations or guides on where I can learn about this so I can put the correct settings?

Thank you very much

Edit: I have already Github and Bitbucket as Social Connection and I am using React for my app. Hopes this helps.

I would recommend to look into OIDC enterprise connection to integrate with OIDC identity provider instead of Custom Social Connection. It is documented here β†’ Connect to OpenID Connect Identity Provider

Let us know later on if you have any questions regarding that!

Great! it’s working now. I used OpenID just as you recommend.

Thank you very much!

Perfect! Glad to hear that!