Hello,
i am trying to get the oauth token via post to https://login.microsoftonline.de/common/oauth2/token.
[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","description":"","type":"text"}]
If i try to post with given charset, does not matter what charset, i always get an error and cannot get the token!
This should be fixed! Microsoft should be able to handle given charset inside the header.
curl --request POST \ --url https://login.microsoftonline.de/common/oauth2/token \ --header 'Accept: */*' \ --header 'Content-Type: application/x-www-form-urlencoded;charset="UTF-8"' \ --header 'Postman-Token: 99b8afdb-b4fc-4cfc-812e-059a256ef6d2' \ --header 'cache-control: no-cache' \ --data 'grant_type=password&client_id=abc&resource=abc&scope=openid&username=abc&password=abc'
A post like this should work! But it does not! I get invalid_request! So please fix this issue, so that given charset parameter are excepted when posting to get microsoft token.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
15 | |
10 | |
3 | |
3 | |
3 |