function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tyrel DenisonTyrel Denison 

Canvas App OAuth Fails in Salesforce1

I have a canvas app I am making Salesforce1 compatable. Things work fine when I log in to the desktop and use it is "Salesforce1 mode", but when I try and access it in my Salesforce1 with my dev org, it does not go beyond the loading screen. I have a suspision that it is wanting me to authorize it's access to my account, but it is not prompting me to allow it. Additionally, I have set the app pre-authorize by admin, and according to this flow chart as I understand it,
http://www.salesforce.com/us/developer/docs/platform_connectpre/Content/user_flow_oauth.htm
I should not be prompted to allow it. Any insight is greatly appreciated.
sean*harrisonsean*harrison
I'm not much with Canvas but wondering if you've tried in web-only mode? Per this doc (https://developer.salesforce.com/blogs/developer-relations/2013/12/things-to-know-about-s1.html), using Chrome one could kick on the console (http://www.salesforce.com/us/developer/docs/platform_connect/Content/canvas_sdk_debug_mode.htm) to confirm if it's really the OAuth handshaking or perhaps another problem. Just a thought.

Anyone else seen this behavior? What's the best approach to debug a Canvas app?
Tyrel DenisonTyrel Denison
Thanks for the repy Sean. I have tried it in web-only mode, which I mistakeningly referred to it as Salesforce1 mode. It works fine there, so I wouldn't be able to debug it with the Chrome tools since I don't get that behavior in that environment. As a side note, not having autocorrent in these posts is killing me. I have to learn to spell on my own again. :(