Home Rails 关于csrftoken,authenticitytoken一段非常精彩的论述
Post
Cancel

Rails 关于csrftoken,authenticitytoken一段非常精彩的论述

参考:  https://stackoverflow.com/questions/9141339/how-to-pass-the-csrf-token-between-rails-applications

大意是,难以在两个rails项目中共享csrf token 

建议使用 api 加密, public_key ,private key 这样的方式

This post is licensed under CC BY 4.0 by the author.