oidc
Verifies an OIDC token against the configured OIDC provider and obtains the necessary claims to obtain user information.
- Package
github.com/cs3org/reva/v3/pkg/auth/manager/oidc- Source
- pkg/auth/manager/oidc · Go reference
Overview
Package oidc verifies an OIDC token against the configured OIDC provider and obtains the necessary claims to obtain user information.
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
insecure | bool | false | Whether to skip certificate checks when sending requests. source |
issuer | string | - | The issuer of the OIDC token. source |
default_id_claim | string | "sub" | The default claim used as the user ID when no per-IDP override is configured. source |
idp_to_id_claim | map[string]string | - | Per-IDP claim to use as the user ID, keyed by the value of the identity_provider token claim. Overrides default_id_claim for matching IDPs. source |
uid_claim | string | "uid" | The claim containing the UID of the user. source |
gid_claim | string | "gid" | The claim containing the GID of the user. source |
gatewaysvc | string | shared gatewaysvc | The endpoint at which the GRPC gateway is exposed. source |
users_mapping | string | - | The optional OIDC users mapping file path source |
group_claim | string | "groups" | The group claim to be looked up to map the user (default to ‘groups’). source |