Closed (fixed)
Project:
Salesforce Suite
Version:
7.x-3.x-dev
Component:
salesforce.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Dec 2012 at 17:17 UTC
Updated:
29 Mar 2017 at 14:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kostajh commentedComment #2
levelos commentedWe did think about this and didn't implement anything yet. The entire site does not need to be running HTTPS to use the Salesforce module, which the patch implies. It only needs to support HTTPS. My thought is to do some type of HTTPS check on the authorization page (and only there) and display appropriate messaging if it's not using HTTPS.
I also don't think we should throw a requirements error if Salesforce isn't authorized yet. Maybe a notice/warning?
Comment #3
kostajh commentedAn error is helpful for drawing an admins attention to a problem if the site can no longer connect with Salesforce. A warning/notice would only show up in the Status Report, not on every admin page. But I'd agree that an error should not be thrown during install, and I would change the existing patch so it only shows in the runtime phase.
Regarding HTTPS, yes, let's do the check on the admin/configure/services/salesforce page only.
You want me to work on this or will you?
Comment #3.0
kostajh commentedUpdated issue summary.
Comment #4
mariacha1 commentedNew notifications attached:
Reports page:
Authorization page:
Patch attached adds these.
Comment #5
aaronbauman#4 didn't apply for me.
Applied manually and looks RTBC to me.
re-roll attached
Comment #6
dbcollies commentedJust something to add to the mix: I would prefer we NOT require HTTPS. Of course, I understand that HTTPS is technically required for the callback URL, but there is an easy workaround that I use for my development sites. Even though they don't support HTTPS, I list the callback URL as HTTPS anyway in Salesforce. When Salesforce tries to do the callback, I get the expected error. in my browser All I need to do is change the URL in the browser from https://... to http://... leaving everything else the same. The authorization token gets stored, and everything works just fine.
Clearly not something you want to do in production, but very handy for development. If we require HTTPS, then my trick will no longer work. :-(
Of course, I don't expect the project not to do something simply for my convenience. Just wanted to bring it up as food for thought.
Comment #7
aaronbauman@dbcollies: since this is a runtime requirement, it shouldn't prevent you from installing the module and using your workaround. Can you try the patch and confirm?
Comment #9
aaronbauman