Forum Discussion
How To: Get embed token using Get/Post only
Steps 1 and 2 run as expected, when I run step 3 & 4 it just returns blank, any ideas?
Sorry, I am using Postman and I added the quotes around the token, once I removed the quotes it worked fine.
I get a nasty error saying:
400 Client Error: Bad Request for url: https://login.windows.net/common/oauth2/token
{
"timestamp": "2018-09-14 01:18:04Z",
"trace_id": "a6c902bb-2263-44ce-8675-ce1fa7196c00",
"correlation_id": "94d0a3bb-0b79-4cc9-9d52-bce7973c438e",
"error_description": "AADSTS70002: Error validating credentials. AADSTS50126: Invalid username or password\r\nTrace ID: a6c902bb-2263-44ce-8675-ce1fa7196c00\r\nCorrelation ID: 94d0a3bb-0b79-4cc9-9d52-bce7973c438e\r\nTimestamp: 2018-09-14 01:18:04Z", 01:30 Dur 21:16:15
"error": "invalid_grant",
"error_codes": [
70002,
50126
]
}
everytime. I registered a native app however, everytime I try to use my UserCredentials.. I get the above error... Any guidance would be great.
- mohsin3217 years agoFrequent Visitor
i have successfully completed all the three steps as described in the tutorial bu at step 4 when i used my access token to generate the embed for me, HTTP gives the blank reponse there is no json array in the response as described in the tutorial and also it does not give any error .Any help regarding this issue would be appreciated thankx