is there any way to use OIDC with custom connectors? From what I can see only oauth2 is supported with custom connectors, and the id_token provided by the OIDC provider is not being used when performing actions.
That means you can get authentication to work, but not authorization as the user claims are in the id_token and not the accesstoken (which is what custom connectors provide when performing actions).
This basically prevents all OIDC providers from creating anything other than "permit/deny all" unless they are running AAD or write some custom middleware to match accesstokenid with the id_token provided in the authentication phase. Or to put it in other words: implement a custom authorization library