This object is in archive! 

Doing a remote login - inversed SSO

Archived Alexander Kludt 9 years ago

Is there any way to turn the whole SSO the other way around - I'm thinking of the following:

  • The user does a login on my website
  • The website authenticates him and sends a request to UR
  • UR will automatically login that user or create it if needed

I want to be able to put useresponse as an IFRAME directly into my website as if it was part of it. I already modified the template for all of that - I only need to get the login working somehow. If there is nothing for that yet, which method should I use to create/login a user in a custom script?

Replies (2)

photo
1

Alexander,

UseResponse already includes requested features, but login/registration from third-party apps goes in semi-automatic way. In other words UR uses the session and cookies to know about external logged in user.

Use our PHP-SSO.Class for this corresponding Single-Sign On setup manual. In your case you need to reload your IFRAME with UseResponse in final step once the user has logged in.

photo
1

I know that here is this SSO Class, but forcing my user to click some kind of button or re-entering his user data is not what I want. I will build a custom script for that, maybe I can get more insight by looking at the source code of the LoginPlus Module.

photo
1

Alexander,

You don't need to click extra button or ask to re-enter user data, as one your user logs in your authentication form, our software will catch cookies and session even in iframe, but this iframe should be reloaded or content inside should be refreshed in order for UR to catch these cookies and session.

How you will do it will be only on your own - as there could be several methods for that

Replies have been locked on this page!