Giter Club home page Giter Club logo

Comments (7)

yulda03 avatar yulda03 commented on June 14, 2024

The user only logged in if they're Administrator and Manager, for other user group got error "You do not have access to the administrator section of this site."
Can anybody help this issue?

from joomla-external-login.

chdemko avatar chdemko commented on June 14, 2024

Please try version 2.1.0

from joomla-external-login.

avara avatar avara commented on June 14, 2024

I have tried on Joomla 2.5.0 with both extension version 2.0.5 (after try it on Joomla version 1.7.3) and 2.1.0 but I have the same problem as it is described in this issue title. I can login into my Jasig Cas Server 3.5.1, through ldaps with my active directory, but when return to joomla do not appear to be logged. Users exists on both Active Directory and Joomla database.

I have also tried to insert a user-server link directly into externallogin-users table of my joomla database (because through the tab users of this componet that assignment fails) to try if it could be because joomla or the external login module do not recognize that user, but I receive the same result.

I could see in my cas server that both the authenticathion and the creation of the ticket_granting_ticket and a service_ticket go correctly, but I think is very suspicious that do not be validated that service ticket after an attempt of login into joomla. Fortunately now with your last version (2.1.0) I could see a log tab where I have seen an info message that inform me of an Attempt to login using ticket "ST-4-....." on server 1 but then appears also a wanring message telling me "Unsuccessful verification of server 1". Is that message telling me that it could not validate my service ticket? and most important thing, is it correct that in the redirection url to joomla appears as parameter "server=1"? Because on Moodle and Liferay I do not see that kind of parameters, including the ticket parameter that also appears with this extension("ticket=ST-4....").

I could not understand why it fails but I have the same problem as one joomla user desribed some time ago on this Joomla! Forum post: http://forum.joomla.org/viewtopic.php?f=620&t=740400. Could you, chdemko, help me, please?

Many thanks in advance.

from joomla-external-login.

avara avatar avara commented on June 14, 2024

I have finally detected my problem. I have added the next lines after "$result = curl_exec($curl);" into caslogin.php, which is located into the system plugin directory, to see the real error:
if(!curl_errno($curl)){
$info = curl_getinfo($curl);
echo 'Took ' . $info['total_time'] . ' seconds to send a request to ' . $info['url'];

The error says that curl can not verify the certificate location and that is why I was receiving the warning message of "Unsuccessful verification of server 1". I suppose all this come because I use a self-signed certificate.

I hope this post can help others.

from joomla-external-login.

chdemko avatar chdemko commented on June 14, 2024

You can precise your certificate in the administrator site (in the "Connection" slider)

from joomla-external-login.

yulda03 avatar yulda03 commented on June 14, 2024

Joomla 2.5.9 and external login 2.1.0 are the great combination. Is this plugin also work for Joomla 3.0?

from joomla-external-login.

chdemko avatar chdemko commented on June 14, 2024

Yes, the admin part must be updated

from joomla-external-login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.