discourse

Can't send mail with gmail stmp server (in discourse)

Deadly 提交于 2019-12-10 16:16:28
问题 I'm trying to setup discourse, which is a rails3 webapp, but have some problems configuring smtp with gmail smtp server. I have registered a new gmail account yesterday, and I can logged in browser and email-client software. Then I configure discourse, in the file config/environments/production.rb : config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :user_name => "smtp4shuzu@gmail.com", :password => "12345678",

Incorporating Discourse SSO with Existing Rails Site with Devise

浪尽此生 提交于 2019-12-04 07:38:20
问题 I have an existing rails app that is using devise as it's user authentication. I added a discourse forum and everything went smoothly and it resides on a subdomain. I have read the post at https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045 but still don't know what to do with the devise side of things once the user logs in on the existing rails site. Currently this is the process as I understand it: Step1: User hits Discourse forum on subdomain. User needs to login so

Incorporating Discourse SSO with Existing Rails Site with Devise

岁酱吖の 提交于 2019-12-02 14:43:51
I have an existing rails app that is using devise as it's user authentication. I added a discourse forum and everything went smoothly and it resides on a subdomain. I have read the post at https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045 but still don't know what to do with the devise side of things once the user logs in on the existing rails site. Currently this is the process as I understand it: Step1: User hits Discourse forum on subdomain. User needs to login so clicks login button. Step2: User is sent to the login page on the existing rails site. Step3: User logs

Vagrant error: NFS is reporting that your exports file is invalid

吃可爱长大的小学妹 提交于 2019-12-02 13:55:32
I am trying to set up the Discourse development environment using these instructions . However when I run Vagrant I get the error: NFS is reporting that your exports file is invalid. Vagrant does this check before making any changes to the file. Please correct the issues below and execute "vagrant reload": Can't open /etc/exports I checked, and I don't have an etc/exports folder, so I created one and ran vagrant reload . This got me: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.1/plugins/hosts/bsd/host.rb:146:in read': Is a directory - /etc/exports (Errno::EISDIR) from /Applications

Changed domain error - OpenId auth request contains an unregistered domain

Deadly 提交于 2019-11-28 18:16:12
I set up a project on my main domain example.com and then moved it to a subdomain sub.example.com Now when I try to use the same (default ASP.NET MVC or on my Discourse forum) project with OpenId and click on the Google button to log in with my Google account it throws the following error - That’s an error. OpenID auth request contains an unregistered domain: http://sub.example.com I have tried Googling that message but apparently I am one of the first four people to see it. Any ideas here? Altryne According to this page , Google closed registration to new OpenID 2.0 clients in May 2014 and

Changed domain error - OpenId auth request contains an unregistered domain

被刻印的时光 ゝ 提交于 2019-11-27 11:10:50
问题 I set up a project on my main domain example.com and then moved it to a subdomain sub.example.com Now when I try to use the same (default ASP.NET MVC or on my Discourse forum) project with OpenId and click on the Google button to log in with my Google account it throws the following error - That’s an error. OpenID auth request contains an unregistered domain: http://sub.example.com I have tried Googling that message but apparently I am one of the first four people to see it. Any ideas here?