开发者

openID component for cakePHP (and an easy way to Google)?

I have int开发者_开发知识库egrated the openID component for cakePHP from http://code.42dh.com/openid/ into my application. When I put in my openID URL (http://openid-provider.appspot.com/XXXXXXXXX ) I am prompted to log into Google from the openID page which and I get properly redirected back to my page with a whole lot of stuff in the GET string and a "successfully authenticated" message so I know that is all OK.

However this requires one to know the URL at lead of time. How can I go directly to a screen to enter one's username and password?

[Sorry if this sounds like a beginner's question, I am still trying to figure this out]


Unfortunately you can't: the username and password are for the OpenID system that the user is logging into, and you need the URL to specify which system.

You could hard-code this to use the Google OpenID provider but your best bet would be to copy the StackOverflow login page and have 'click here to login with Google', 'click here to login with Yahoo' links that use the default Google OpenID URLs, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜