code: func (o *OIDCConnectorV2) V1() *OIDCConnectorV1 {
  	return &OIDCConnectorV1{
  		ID:            o.Metadata.Name,
  		IssuerURL:     o.Spec.IssuerURL,
  		ClientID:      o.Spec.ClientID,
  		ClientSecret:  o.Spec.ClientSecret,
  		RedirectURL:   o.Spec.RedirectURL,
  		Display:       o.Spec.Display,
  		Scope:         o.Spec.Scope,
  		ClaimsToRoles: o.Spec.ClaimsToRoles,
  	}
  }
docs: // V1 converts OIDCConnectorV2 to OIDCConnectorV1 format