Add option for full_host to allow Clever login from non-secure pages#5
Add option for full_host to allow Clever login from non-secure pages#5joe1chen wants to merge 1 commit intoClever:masterfrom
Conversation
|
Hi @joe1chen and @jbusser , the one concerning element of this change is the following comment: option :full_host
Clever's security policy necessitates that all production url's are SSL-signed , lest we send student PII to an unsecure server. Any thoughts? |
|
Our app routes all traffic over HTTPS, so this option doesn't give me anything. That said, I appreciate Clever's position on the matter, and if you decline to merge this change, I would respect your decision. |
|
Our website does not force you to use SSL, unless you decide to login. So Bottom line is when you are using Clever with our website, you are using So this pull request is to support this kind of mixed SSL/non-SSL On Thursday, September 1, 2016, csmooth notifications@github.com wrote:
|
This change allows you to specify the full_host for the Clever omniauth.
Example using devise:
Note that you can also set the
full_hostfor all omniauth libraries with the following code:However, since this affects all other oauth logins, we would prefer not to have to re-test everything.
BTW, this change has been used in production for over a year, but seeing now that there is an official Clever fork, we'd like to contribute this back.