• (GF) Bing Yang
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I'm using a ruby gem called omniauth to perform OAuth for my connected app. As a final step after completing authentication, omniauth performs a POST to the "identity URL", e.g. POST https://test.salesforce.com/id/<org id>/<user id>?oauth_token=<oauth token>.  It's on this final POST that we're seeing a failure for one of our customers; The response body simply says "Missing_Oauth_Token".  We haven't seen this issue with any other customer.

After some digging in, I found that the same identity request works when using a GET request or when providing the OAuth token in the request header.  It only fails with a POST.  This customer is on cs18, so there could be in issue with that instance; However, we've had other customers connect to cs18 without problems.  Additionally, this same customer is able to connect to his production instance without issue.

Please help!


I'm using a ruby gem called omniauth to perform OAuth for my connected app. As a final step after completing authentication, omniauth performs a POST to the "identity URL", e.g. POST https://test.salesforce.com/id/<org id>/<user id>?oauth_token=<oauth token>.  It's on this final POST that we're seeing a failure for one of our customers; The response body simply says "Missing_Oauth_Token".  We haven't seen this issue with any other customer.

After some digging in, I found that the same identity request works when using a GET request or when providing the OAuth token in the request header.  It only fails with a POST.  This customer is on cs18, so there could be in issue with that instance; However, we've had other customers connect to cs18 without problems.  Additionally, this same customer is able to connect to his production instance without issue.

Please help!