mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-15 21:39:00 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -264,7 +264,7 @@ sync in data that are subject to change and control access to some GitLab featur
|
||||
### AI gateway
|
||||
|
||||
AI gateway is able to issue UJWTs which are meant for users to directly communicate with the AI gateway,
|
||||
i.e. not having to make a call to a GitLab instance first. This is in addition to using a IJWT.
|
||||
that is not having to make a call to a GitLab instance first. This is in addition to using a IJWT.
|
||||
Only GitLab instances can request a UJWT, which is done by making a request with the IJWT.
|
||||
AI gateway will then return a short-lived UJWT that the instance can pass over to the user.
|
||||
The client can use this UJWT to directly communicate with the AI gateway.
|
||||
|
@ -133,7 +133,7 @@ As an example, the feature is delivered as a stand-alone service called `new_fea
|
||||
- Provided parameters such as user, namespace or extra claims would be ignored for Self managed instances.
|
||||
Refer to [this section](#the-new-feature-is-introduced-through-the-existing-backend-service) to see how custom claims are handled for self-managed instances.
|
||||
|
||||
The **backend service** (i.e. Ai Gateway) must validate this token and any scopes it carries when receiving the request.
|
||||
The **backend service** (AI gateway) must validate this token and any scopes it carries when receiving the request.
|
||||
|
||||
1. If you need to embed additional claims in the token specific to your use case, you can pass these
|
||||
in the `extra_claims` argument.
|
||||
|
Reference in New Issue
Block a user