Question

Force OAuth2 Connections on HTTP POST method

  • 14 April 2023
  • 2 replies
  • 1 view

Hi,

 

I am trying to connecto to an API that supports only POST method to generate the tokens via OAuth2.

 

After some testing and fiddling, I can see that FME Desktop (2022.2) sends first a GET request when trying to get the token. So this request is declined by the server and I cannot continue further.

 

Is there a way to enforce POST for the whole OAuth2 flow in Desktop/Server?


2 replies

Userlevel 5
Badge +29

There was similar conversation about using POST instead on GET here - https://community.safe.com/s/question/0D7Dm000000ACIdKAO/detail?fromEmail=1&s1oid=00D30000000ePES&s1nid=0DB0c000000Gmzx&s1uid=0054Q00000EwvQs&s1ext=0&emkind=chatterCommentNotification&emtm=1680019073168

@hkingsbury

 

Thank you very much for the quick reply.

I did search the forums before asking, but clearly I was not using the right keywords. Thanks for letting me know.

I have read it and I see there is a ticket filed for it (FMEENGINE-76689). So hopefully will be implemented soon.

 

Thanks!!

Reply