Skip to content

Commit

Permalink
docs: fix note block in third party login guide (#920)
Browse files Browse the repository at this point in the history
Allows the document to render properly
  • Loading branch information
cactysman authored Dec 20, 2020
1 parent 41492f9 commit 745cea0
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,16 @@ The pattern of this URL is:
http(s)://<domain-of-ory-kratos>:<public-port>/self-service/methods/oidc/callback/<provider-id>
```

:::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 = {
Expand Down

0 comments on commit 745cea0

Please sign in to comment.