Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将用户名和密码等数据从我的 Ruby on Rails 应用程序中的表单传递到 Joomla 管理员登录表单。我正在考虑使用 post 方法形式,但我无法弄清楚。任何人都可以给我一些指示吗?我已经尝试了很多东西并搜索了很多小时..
先感谢您!!
Joomla!登录(和大多数其他形式)使用安全令牌。为了从外部应用程序登录,您需要下载登录表单,获取令牌,即
<input type="hidden" name="f9129bcc06dc6c1f3771a1f672308741" value="1" />
并在发布之前将其插入您的登录表单。或者查找 SSO Joomla,你会发现专用的扩展,但这可能会使 Joomla 更容易受到攻击。