forcedotcom / SalesforceMobileSDK-iOS

iOS SDK for Salesforce
Other
538 stars 421 forks source link

After updating to SDK 12.0.1, We are unable to load static resource inside ourapp, Getting too many http redirects error #3742

Open hemantsumanmetacube opened 3 months ago

hemantsumanmetacube commented 3 months ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 12.0.1
  2. Issue found in Native App or Hybrid App: Hybrid
  3. OS Version: 17
  4. Steps to reproduce: trying to load static resource in the app using script tag
  5. Actual behavior: Getting Too many http redirect error
  6. Expected Behavior: static resource should load
wmathurin commented 3 months ago

So you generated your application with forcehybrid with app type hybrid remote (this)? Is it happening all the time? Was it working prior to Mobile 12?

hemantsumanmetacube commented 3 months ago

the app was generated using app type hyrid_local, and it was working before upgrading to sdk12 and the issue is specific to ios devices

hemantsumanmetacube commented 3 months ago

Any leads?

hemantsumanmetacube commented 3 months ago

After further investigation, we found that sid cookie is not being sent in the request, Has there been any changes related to this workflow.

wmathurin commented 2 months ago

We only front door the start page url for hybrid remote applications. See code. That code has not been touched in many years. Front door allows take a url and access token and takes you to that url with a sid cookie (if the access token is valid). What version were you on before?