Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Using Joomla login Sessions in PERL scripts

by tsdesai (Acolyte)
on Jul 07, 2017 at 09:18 UTC ( [id://1194454]=perlquestion: print w/replies, xml ) Need Help??

tsdesai has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I am looking for suggestions. The background is we have a CGI perl application and I would like to implement single sign on between Joomla(php)and the external perl applications through LDAP. I have managed to crack on single sign on with the PHP application as in they are always redirected to joomla if they are not logged in and after login they are redirected back to the original requested URL(outside Joomla) The problem now is, I am not sure how do I begin with Perl .Although, I have started doing this by redirecting the Perl scripts to a php script which in turn loads Joomla session and checks for valid session and redirects according . In my my mind this is too much to load for every single script in the application. I would really appreciate any suggestions or alternative way of using Joomla sessions with PERL Scripts.

Many Thanks, Teju

  • Comment on Using Joomla login Sessions in PERL scripts

Replies are listed 'Best First'.
Re: Using Joomla login Sessions in PERL scripts
by Anonymous Monk on Jul 08, 2017 at 04:06 UTC
    are you talking oauth?

      Not really i haven't used OAuth but can always give a try as vaguely i had done OAuth with Moodle long time ago. My PhP script basically loads Joomla configuration and checks for the session. I will give OAuth a go for PERL Applications

      Thank you

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1194454]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found