oidc

Verifies an OIDC token against the configured OIDC provider and obtains the necessary claims to obtain user information.

DriversAuthenticationAuth managers
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

KeyTypeDefaultDescription
insecureboolfalseWhether to skip certificate checks when sending requests. source
issuerstring-The issuer of the OIDC token. source
default_id_claimstring"sub"The default claim used as the user ID when no per-IDP override is configured. source
idp_to_id_claimmap[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_claimstring"uid"The claim containing the UID of the user. source
gid_claimstring"gid"The claim containing the GID of the user. source
gatewaysvcstringshared gatewaysvcThe endpoint at which the GRPC gateway is exposed. source
users_mappingstring-The optional OIDC users mapping file path source
group_claimstring"groups"The group claim to be looked up to map the user (default to ‘groups’). source