I'm currently trying to send data from my application in Aware IM to an external API using OAuth 2.0 as the way to authenticate myself. The data I'm trying to send contains some special characters, in this case it's the Swedish characters ÅÄÖ. The problem I'm facing is that these characters aren't encoded properly when sent, which means the API I'm communicating with can't properly read my data and instead replies with an error message which reads 'Error deserializing JSON: JSON_ERROR_UTF8'.
The API I'm working with used to have another form of authication using a value for Client-secret and Access-Token sent with the request headers which works fine, the special characters show up as expected with no error. This way of authenicating myself is no longer supported for new users, so it cannot be used in my case.
This leads me to believe that something goes wrong when I'm trying to send the same data using OAuth 2.0.
Scandinavian characters doesn't work when using OAuth 2.0
Re: Scandinavian characters doesn't work when using OAuth 2.0
Note: This was tested with both version 8.4 and 8.6.
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Scandinavian characters doesn't work when using OAuth 2.0
Can you please send us a small BSV that reproduces the problem?
Aware IM Support Team