This object is in archive! 

Turn of register and sign in when SSO activated?

Archived Måns Larsson 11 years ago

Is there a way to turn of login on SR installation?


With SSO

activated I don't want any other method of logging in, and of course no

register function either (admin-login must still work though).

Best Answer
photo

It's possible to leave only SSO method to login. You need to perform following actions:

  1. Override in your theme - header.phtml to remove Login | Register links at all (line 21 - line 28)
  2. Instead of these links put only one strict login url to login form outside the system - the link should be as if you clicked on SSO inside standard login area;
  3. Change in global.js App.openLoginPopup, so all actions required by to login will forward you to the external login form and then redirected back once user logs in

Replies (9)

photo
1

In addition it would be nice when a user which is already authenticated in the external system could be logged in automatically in the useresponse installation when directed from the external system to useresponse.

photo
1

Isn't it suppose to work like that? What you describe is by my definition of Single sign on...

photo
2

Actual its working like this:

On the usereponse login page the user has to click on the "SSO" Link.

This redirects the user to the login page of your website.

After the user logs in (or when the user is already authenticated), he is redirected back to your useresponse site, where automagically a new useraccount is created (in case it was the first login for that user).

photo
1

It's possible to leave only SSO method to login. You need to perform following actions:

  1. Override in your theme - header.phtml to remove Login | Register links at all (line 21 - line 28)
  2. Instead of these links put only one strict login url to login form outside the system - the link should be as if you clicked on SSO inside standard login area;
  3. Change in global.js App.openLoginPopup, so all actions required by to login will forward you to the external login form and then redirected back once user logs in

photo
1

@Mans, @Jutta,

Yes, it works like that if you have valid integration according to documentation manual.

I've added in off. answer also instructions how leave only SSO login without letting users to create accounts passing your system.

SSO integration is more laid on customers here, so you can ask your PHP developer for them to check the right integration.

Here is the example how others integrated it - https://community.transparent-support.com/

photo
1

Ok, so I am on my own here - I need to modify UR to my likings?


Makes me think about the upcoming "2.0"... How will things work there?


Will that version offer plugin functionality for what I want, if not a ready made plugin at least a possibility to write such plugin because I don't think it's good practice modifying your code (makes updates hard).

photo
1

I agree with you. But to write specific module for it is not a problem at all, as you can use our modular system and take advantages of system module features with Login Plus module features implementing your functionality in module.

We'll be glad to take that module on custom development, but are busy till 15th June, so if you'll be still interested, you can email us regarding your request later

photo
1

Ok, sounds good!

photo
1

I want a user to post responses to the system without login / resgistration.

Is this possible?

Replies have been locked on this page!