diff --git a/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx b/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx index 4c9b4677fefe..98c624482dcd 100644 --- a/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx +++ b/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx @@ -237,12 +237,16 @@ The pattern of this URL is: http(s)://:/self-service/methods/oidc/callback/ ``` -:::note While you can use +:::note + +While you can use [GitLab as an OIDC identity provider](https://docs.gitlab.com/ee/integration/openid_connect_provider.html), GitLab only returns the sub and sub_legacy claims in the ID token. Therefore, ORY Kratos makes a request to [GitLab's /oauth/userinfo API](https://gitlab.com/oauth/userinfo) and adds the -user info to `std.extVar('claims')`. ::: +user info to `std.extVar('claims')`. + +::: ```json title="contrib/quickstart/kratos/email-password/oidc.gitlab.jsonnet" local claims = {