You need to sign in to do that
Don't have an account?
(GF) Bing Yang
POST to identity URL with OAuth token returns "Missing_Oauth_Token"
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!
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 recently put a PR up to omniauth-salesforce which fixes the issue by using the authorization header. Master fixes the problem, and should be live in a few days. Look for a version bump.