Node Red Authentication

I am attempting to use passport-azure-oauth2 to handle authentication for node red and I am not able to figure it out.

I keep getting this error

TypeError: strategy.strategy is not a constructor

My strategy is require("passport-azure-oauth2").Strategy