• Richard Webb
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Hi,

I am trying to use Oauth with my Community in sandbox. Based off of the documentation at https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/quickstart_communities.htm, I redirect to 
https://doctest-fincadsupport.cs51.force.com/customers/services/oauth2/authorize?response_type=token&client_id=ClientID&redirect_uri=redirectURI,
but all I get is a page saying "https://doctest-fincad.cs51.force.com/Support is under construction".  The Community is active in the sandbox.
I thought that perhaps /Support/ needed to be included in the URL because that is the community name, but that brings me to "Page Not Found". 

Is there somethin within the Community I need to set?

 
I am trying to make a request to an identity URL in a sandbox enviroment from an external domain. I am making the request using javascript with an endpoint such as https://test.salesforce.com/id/ORGID/USERID?oauth_token=access-token, which gives me the error
"XMLHttpRequest cannot load ..... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://example.example.com' is therefore not allowed access."
I realise this is to do with CORS, so I followed the steps at https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/extend_code_cors.html, setting the origin URL to https://example.example.com. Unfortuantely I am still getting the same error. Is there some extra step involved that I am missing? Any help would be appreciated.
 
Hi,

I am trying to use Oauth with my Community in sandbox. Based off of the documentation at https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/quickstart_communities.htm, I redirect to 
https://doctest-fincadsupport.cs51.force.com/customers/services/oauth2/authorize?response_type=token&client_id=ClientID&redirect_uri=redirectURI,
but all I get is a page saying "https://doctest-fincad.cs51.force.com/Support is under construction".  The Community is active in the sandbox.
I thought that perhaps /Support/ needed to be included in the URL because that is the community name, but that brings me to "Page Not Found". 

Is there somethin within the Community I need to set?

 
I am trying to make a request to an identity URL in a sandbox enviroment from an external domain. I am making the request using javascript with an endpoint such as https://test.salesforce.com/id/ORGID/USERID?oauth_token=access-token, which gives me the error
"XMLHttpRequest cannot load ..... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://example.example.com' is therefore not allowed access."
I realise this is to do with CORS, so I followed the steps at https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/extend_code_cors.html, setting the origin URL to https://example.example.com. Unfortuantely I am still getting the same error. Is there some extra step involved that I am missing? Any help would be appreciated.