diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-15 09:21:57 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-15 09:21:57 -0600 |
| commit | 930e8adfc85331d9f16a903a34c8b0cfb9c1d11a (patch) | |
| tree | bf02f243706b619e5096882966fa3b4c16be01c8 /pkg/oidc/id_token.go | |
| parent | 5b249a916128ecd6be3a4080f59cc2bc75fae188 (diff) | |
refactor: inline usage of config variable
Diffstat (limited to 'pkg/oidc/id_token.go')
| -rw-r--r-- | pkg/oidc/id_token.go | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/pkg/oidc/id_token.go b/pkg/oidc/id_token.go index ce3fb23..b7f21ce 100644 --- a/pkg/oidc/id_token.go +++ b/pkg/oidc/id_token.go @@ -2,52 +2,4 @@ package oidc import "github.com/coreos/go-oidc/v3/oidc" -/* -Example ID Token from GitLab OIDC Provider: - -```json - - { - "iss": "http://gdk.test:3000", - "sub": "1", - "aud": "e31e1da0b8f6b6e35ca70c790b13c0406e44aca6b2bf67f55de7355a979a224f", - "exp": 1745427493, - "iat": 1745427373, - "auth_time": 1745418001, - "sub_legacy": "2474cf0b2211688a57297ace0e260a15944754d16b1bd42c9d6779c900367807", - "name": "Administrator", - "nickname": "root", - "preferred_username": "root", - "email": "admin@example.com", - "email_verified": true, - "profile": "http://gdk.test:3000/root", - "picture": "https://www.gravatar.com/avatar/258d8dc916db8cea2cafb6c3cd0cb0246efe061421dbd83ec3a350428cabda4f?s=80&d=identicon", - "groups_direct": [ - "gitlab-org", - "toolbox", - "mass_insert_group__0_100", - "custom-roles-root-group/aa", - "custom-roles-root-group/aa/aaa", - "gnuwget", - "Commit451", - "jashkenas", - "flightjs", - "twitter", - "gitlab-examples", - "gitlab-examples/security", - "412708", - "gitlab-examples/demo-group", - "custom-roles-root-group", - "434044-group-1", - "434044-group-2", - "gitlab-org1", - "gitlab-org/secure", - "gitlab-org/secure/managers", - "gitlab-org/security-products", - "gitlab-org/security-products/analyzers" - ] - } - -``` -*/ type IDToken = oidc.IDToken |
