Getting the Invalid Grant Error while trying to hit the Post API to fetch the Access token from mendix application

0
Getting the Invalid Grant Error while trying to hit the Post API to fetch the Access token from mendix application but while hitting the same request in Postman getting the success response with Access token. {"error":"invalid_grant","error_description":"AADSTS50126: Error validating credentials due to invalid username or password. Trace ID: c4cb60c9-2582-4101-aabe-793e1aae5b00 Correlation ID: 6784fdd9-0c09-422b-8bc1-1e676a16935f Timestamp: 2024-09-24 12:01:38Z","error_codes":[50126],"timestamp":"2024-09-24 12:01:38Z","trace_id":"c4cb60c9-2582-4101-aabe-793e1aae5b00","correlation_id":"6784fdd9-0c09-422b-8bc1-1e676a16935f","error_uri":"https://login.microsoftonline.com/error?code=50126"}"  
asked
1 answers
0

Can you try if you are able to connect using the example OAUTH2 module? Should give you a quick way to check if its working and whether its your logic or something else without the need to build from scratch

answered