To do this, I have added one checkbox in the service provider tab of Joomla and one column in the database to determine whether the checkbox is checked or not. If checked it will give a
1 value in the table otherwise
Now I have to add a link in the main page using hooks such that a like will be displayed if the value is
1 in the database; otherwise no link.
And I cannot find a function or class where I can do this same task.
NOTE: I cannot modify the login.php of the Joomla default template.
The plugin which I am using right now is miniOrange's SAML SSO plugin.