我可以将 jQuery OpenID 插件与 LightopenID 一起使用吗?
我正在使用 LightopenID,一切正常。但我想要一个漂亮的 openID 选择器,并且我正在尝试 jQuery OpenID 它正在工作,但是当它必须调用 LightopenID 时我迷失了。我认为是这一行:
<form class="openid" method="post" action="/Login.xhtml?ReturnUrl=">
不是吗?有什么想法吗?
我可以使用其他选择器吗?请问有代码示例吗? 提前致谢!
I'm using LightopenID and all works fine. But I want a pretty openID selector, and I was trying jQuery OpenID
It's working, but I'm lost when it must call to LightopenID. I think is this line:
<form class="openid" method="post" action="/Login.xhtml?ReturnUrl=">
isn't it? Any idea, please?
Can I use another selector? Any code example, please?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就是你说的那条线。您必须设置表单的操作,以便它指向将处理您的身份验证的文件。与 LightOpenID 捆绑在一起的 example.php 就是这样的文件之一。
我采取了以下步骤来测试它:
/openid
(以便 http ://localhost/openid/example.php 将指向示例)/openid/jQueryOpenIdPlugin
'../example.php'
在'/openid/jQueryOpenIdPlugin/Login.xhtml'中It is the line you've mentioned. You have to set the form's action so that it points to a file that will handle your authentication. One such file is the example.php bundled with LightOpenID.
I took the following steps to test it:
/openid
( so that http://localhost/openid/example.php would point at the example)/openid/jQueryOpenIdPlugin
'../example.php'
in '/openid/jQueryOpenIdPlugin/Login.xhtml'