O-O-T-B Sharepoint connected system Error

I am trying to use the Out of the box SharePoint Connected System and using Authorization Code , i assume Appian connected system is taking care of the connection request to /authorize based on the client and tenant id provided. Upon entering the details when i try to authorize i keep getting error message "AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption." Has anyone come across this or has any idea where to look for possible clues?

  Discussion posts and replies are publicly visible