I have a working Postman script for an OAuth2 connection.
When I look at the raw headers it shows that it sends the following headers:
Content-Type:Â application/x-www-form-urlencoded
Authorization: Basic QjIzRkI3RUU5RTZDRZZZQTRCRDJGNjVEOUM5ZZZxNjE6QzAzM0ZDOTU0RjM5NDQ1Qjg2RjdCOUQ1QzlGQzQ2MDYwM0Q1QkUwNEIzMEE3ZZZDMzFCMTI5NzM5M0MxQUMwRQ==
User-Agent:Â PostmanRuntime/7.29.0
Accept:Â */*
Cache-Control:Â no-cache
Postman-Token:Â a8126467-b10d-4a59-b116-f8a6d1160aa8
Host:Â projectlocation.relaticsonline.com
Accept-Encoding: gzip, deflate, br
Connection:Â keep-alive
Content-Length:Â 182
Cookie:Â SESSION_START_COOKIENAME_29C5C999-84D0-4D23-A8F0-F888A8C64C78=true
But if I add a new Webservice with the OAuth2 template in FME it looks like it is sending:
https://projectlocation.relaticsonline.com/oauth2/token
Â
redirect_uri=https://localhost/
client_id=12345567890
client_secret=ASDFJKL
grant_type=authorisation_code
code=eresponseCode]
Â
Accept=application/json
Content-Language=en-US
Content-Type=application/x-www-form-urlencoded
I think I have to convert code=uresponseCode] to Authorization=Basic responseCode] somehow?
Â
Â
Â
Â
Â