Curl login for microsoftonline.com -- 2

Job ID: 37118251

Budget: €250 – €750 EUR

I need curl based php function for logging into https://login.microsoftonline.com/ to get valid access token which is suplied after login.

Login is not posible with username and password, because only supported token_endpoint_auth_method is client_secret_post.

Valid login page is public. Required tokens is now generated on frontend afaik.

So job would be to reverse engineer used token generation method from frontend, or implement it based on some other microsoft documentation.

Valid url and credentials for testing will be available for hired person.
Related categories: PHP JavaScript OAuth cURL