Node Red Admin Authentication with Office 365(passport)

HI,

Does anyone have an example of connecting the Node-Red Admin authentication to Office 365, using say passport

I have worked with OAuth in my flows and registered apps in our azure and connected fine with both delegated and application type authentication.

We want to use our Office 365 system to manage access to Node Red. I found this passport-office365-oauth2 but I have not done anything with passport style long yet.

tia
harry