Skip to content

Parse and log gitlab_realm from JWT claims

Matthias Käppler requested to merge 152-log-gitlab-realm into main

This claim is set by the Rails app based on whether the token was issued for a self-managed or SaaS user.

We log this value in order to distinguish between requests and which user cohort they came from.

Requires gitlab-org/gitlab!123613 (merged) to fully work, but should be safe to deploy regardless since we default this to saas.

Refs #152

Merge request reports