Router v2 configuration (plugins)

we are using apollo router new version 2 but in our config file router.yaml i have plugins, but i get this error:Additional properties are not allowed

Steps to reproduce the behaviour:

  1. Add plugins
plugins:
  example.oauth:
    discovery_url: "https://login.microsoftonline.com/common/.well-known/openid-configuration"
  example.identity:
    identity_url: "http://####/user"

  1. Run the validator

  2. See error

plugins:
    example.oauth:
      discovery_url: "https://login.microsoftonline.com/common/.well-known/openid-configuration"
┌   example.identity:
|     identity_url: "http://####:3000/user"
└-----> Additional properties are not allowed ('example.identity' was unexpected)

To anyone finding this, i was not using the finished custom build version to run validation agains, i was using the default router without the plugins build in.