Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

364
Views
400 error for https://login.microsoftonline.com/common/oauth2/token post request React Typescript

I am trying to do a post request to https://login.microsoftonline.com/common/oauth2/token in react typescript application enter image description here

I am getting a 400 error while making a post request in my React Typescript Application

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

To achieve the above requirement, You need to use the below workaround.

When you are adding client id and client secret ,In this case there is no need to provide username and password.

You can achieve this with client id and client secret and adding scope to it.

To get the scope details you can find as below: enter image description here

SCREENSHOT FOR REFERENCE:- In grant type use "client credential" instead of password enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!