Salesforce Snap Pack: SnapLogic to SalesForce OAUTH problem

Hello All, I am trying to connect SL to sales for using OAUTH . I have followed https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/2387116096/Application+Configuration+in+Salesforce+Portal+for+OAuth2+Account+to+use+in+Salesforce . But when i click "Authorize"in the , there is a new tab opens up, with the following error
"

<OAuth> 
<error>unsupported_grant_type</error> 
<error_description>grant type not supported</error>

"
The following is the screen capture , shows the information I have entered in both of the envs.