Hi @Exploda
Thank you for posting this in Microsoft Q&A.
I understand that you are experiencing issues connecting to the OAuth 2.0 authorization endpoint due to the error AADSTS900144: The request body must contain the 'client_id' parameter.
ClientID should be in the body section and if they are not, this error might be thrown.
To connect to the OAuth 2.0 authorization endpoint (v2), you must include required parameters such as tenant, client_id, response_type, redirect_uri, and scope.
Have you created App registration in Entra admin center. You can find the client_id on the app registration overview page.
Sample OAuth 2.0 authorization endpoint (v2)
https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/authorize?
client_id= ClientID
&response_type=code
&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
&response_mode=query
&scope=user.read
For your reference: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#request-an-authorization-code
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.