I use Microsoft Graph API to manage Azure AD B2C users.
In order to get access without user authentication, I use the following API to get an access token.
https://login.microsoftonline.com/<my-tenant-id>/oauth2/v2.0/token grant_type=client_credentials scope=https://graph.microsoft.com/.default client_id=<my-client-id> client_secret=<my-client-secret>
I found that login.microsoftonline.com was deprecated as described in the article below.
I should use b2clogin.com, but I still use login.microsoftonline.com.
I couldn't find any documentation on how to get an access token using b2clogin.com instead of using login.microsoftonline.com without user authentication.
Where is the documentation?
Or can I use login.microsoftonline.com to get an access token without user authentication?