code: func (o *OIDCConnectorV1) V2() *OIDCConnectorV2 {
  	return &OIDCConnectorV2{
  		Kind:    KindOIDCConnector,
  		Version: V2,
  		Metadata: Metadata{
  			Name: o.ID,
  		},
  		Spec: OIDCConnectorSpecV2{
  			IssuerURL:     o.IssuerURL,
  			ClientID:      o.ClientID,
  			ClientSecret:  o.ClientSecret,
  			RedirectURL:   o.RedirectURL,
  			Display:       o.Display,
  			Scope:         o.Scope,
  			ClaimsToRoles: o.ClaimsToRoles,
  		},
  	}
  }
docs: // V2 returns V2 version of the connector