6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Rails+Omniauth-openid+Nginx+SSL環境で認証できない時の対処法

Posted at

ominiauth-yahoojpや、omniauth-facebookで、
httpsで通信しているのに、redirect_uriに「:80」が追加されてしまって、認証が完了できない場合は、
nginxの設定ファイルに下記を追加する

myapp.conf
proxy_set_header X-Forwarded-Port 443;

参考
http://tech.riywo.com/blog/2013/08/24/omniauth-openid-with-pow-and-nginx-ssl-termination/

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?