How to login without leaving RP by showing the OP login window in iframe? -


How to login to show an IP login window in an iframe to leave the RP?

I opidid

>

Using an iframe is compromised on excessive , because the user will enter his credentials on the page that looks such that it is your RP But it is believed that it is OP. It teaches users to phishing.

If you are going to use an IFrame, then you have to do very little work. In some ways you can take though. If you are taking OpenID Identifier from user on page and displaying an iframe based on user input, then the easiest way is to use Javascript, when user can click on "Login" to create an iframe and UserSuppliedIdentifier . That page will execute an openID search on the identifier and will redirect the standard to the OP, which will be restricted to iframe since the request has come from that time. Send OPID to OPD.Ret_You should be on a special page, how to return the IFrame's "pop out" to your main window. This is really a very similar flow in the popup window view, which I show you on a demo below, but instead of popup, you do it in an iframe.

Instead of an iframe, if the recommended method does not want you to send users away from your site for a while, it is an example of using a popup window, but other ways to do this There are also. It's always complicated to work in the browser and work safely. Before proceeding, we should know what web platform you are using (ASP.Net, PHP, Perl, Python, etc.).


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -