Values.RegisterOidcConfigRequestSourceRegisters and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.
type nonrec t = {networkId : NetworkId.t;The ID of the Wickr network for which OIDC will be configured.
*)companyId : GenericString.t;Custom identifier your end users will use to sign in with SSO.
*)customUsername : GenericString.t option;A custom field mapping to extract the username from the OIDC token (optional). The customUsername is only required if you use something other than email as the username field.
*)extraAuthParams : GenericString.t option;Additional authentication parameters to include in the OIDC flow (optional).
*)issuer : GenericString.t;The issuer URL of the OIDC provider (e.g., 'https://login.example.com').
*)scopes : GenericString.t;The OAuth scopes to request from the OIDC provider (e.g., 'openid profile email').
*)secret : SensitiveString.t option;The client secret for authenticating with the OIDC provider (optional).
*)ssoTokenBufferMinutes : Integer.t option;The buffer time in minutes before the SSO token expires to refresh it (optional).
*)userId : GenericString.t option;Unique identifier provided by your identity provider to authenticate the access request. Also referred to as clientID.
*)}val make :
?customUsername:??? ->
?extraAuthParams:??? ->
?secret:??? ->
?ssoTokenBufferMinutes:??? ->
?userId:??? ->
networkId:NetworkId.t ->
companyId:GenericString.t ->
issuer:GenericString.t ->
scopes:GenericString.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Integer of Integer.t | `String of NetworkId.t ]) list ]