Skip to content

Instantly share code, notes, and snippets.

@shoyan
Created April 10, 2014 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shoyan/10340319 to your computer and use it in GitHub Desktop.
Save shoyan/10340319 to your computer and use it in GitHub Desktop.
[Rails]外部の認証機構よりcallbackしたときにCSRFのチェックにひっかかってしまう問題への対処法
# 外部の認証機構よりcallbackしたときにCSRFのチェックにひっかかってしまう問題への対処法
skip_before_filter :verify_authenticity_token, only: [ :callback ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment