Nope this is not related. It’s for another Strapi configuration.
But these modifications are both for end user authentication (handled with user-permissions plugin), not for Strapi backend.
The one for Microsoft tenant is because purest handles only the “common” endpoint, so I had to adapt to handle a business endpoint.
And my last adaptation done this week is to add the keycloak provider too which is not present in this plugin, also I wanted to use the access_token from oauth2 instead of the Strapi generated one.