In iOS I passed the auth code straight to my post, however billinghamj encodes with .utf8 before sending it.let authorizationCode = String(data: appleIDCredential.authorizationCode!, encoding: .utf8)Make sure you take off optional words from that as well.Hope it helps!