Enabling Azure AD tenants?

Hey all.

Has anyone been able to enable Azure AD tenants?

the current authorize URL is
https://login.microsoftonline.com/common/oauth2/authorize

But we need to use
https://login.microsoftonline.com/XXXTENANTIDXXX/oauth2/v2.0/authorize

It looks like an extra backend: ‘social_core.backends.azuread_tenant.AzureADTenantOAuth2’

https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html#tenant-support

Simply adding that line to settings.py didn’t magically work, so i’m wondering if anyone has had better luck!

TIA!