WebHare can be setup as an OpenID Connect Identity Provider. First configure the WRD Schema itself: (this needs to be done only once per schema)

To add individual service providers request their OAuth2/OIDC callback URL and use the following command line:

wh auth [-s <schema>] add-rp "<title>" "<callbackurl>"

This will return the clientid and clientsecret which you should pass to the service provider.

You can retrieve your current IDP configuration using wh auth describe