dongshendie8849 2012-05-03 19:40
浏览 92
已采纳

openid:没有重定向的登录

I'm new to opeid, so forgive if the question is dump. I'm developing a system (on PHP) to unify login through various openid-providers. There should be several methods (login, check if user is logined and etc).

The problems is that the system will be used by flash. And I don't know how to perform login without redirect. Here's my question: if a user is already logined on open-id provider (or uses provider like myopenid which don't need password) and has confirmed that he allows to use his personal info, is it possible to login without redirect (to login page on openid provider). An example will be great!

Will be grateful for any thoughts!!!

  • 写回答

1条回答 默认 最新

  • dqmfo84644 2012-05-05 15:57
    关注

    You should perform an immediate request to the provider, i.e. by setting the parameter openid.mode to checkid_immediate. The provider MUST respond with a respons whether the authentication was succesfull or not. If the authentication was not succesfull, you should still perform the redirect to allow the user to authenticate.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥15 MCNP里如何定义多个源?
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器