constructor({ 'idp-issuer-url': url, 'id-token': token, 'refresh-token': refresh_token,
      'client-id': client_id, 'client-secret': client_secret, 'idp-certificate-authority': ca }) {
    this.client_id = client_id;
    this.client_secret = client_secret;
    this.token = token;
    this.refresh_token = refresh_token;
    if (url && url.endsWith('/')) {
      this.url = url.slice(0, -1);
    } else {
      this.url = url;
    }
    this.idp_certificate_authority = ca;
  }
auth-provider:
name: oidc
config:
  client-id: xxx
  client-secret: xxx
  id-token: ...idtoken...
  idp-issuer-url: https://myoidcprovider.com
  refresh-token: ...refreshtoken...