Single Sign on how?

Moderator: crythias

Post Reply
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Single Sign on how?

Post by tripti_rai2005 »

Hi..I am trying to implement a similar case.In my case i want to implement single sign on from other applications.User logging into one system from where ,if user redirected to otrs, the user should not be required to re-login into the system.
Can you please share your code
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Single Sign on how?

Post by crythias »

This post was moved to its own thread because it did not relate to the topic it hijacked.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Single Sign on how?

Post by tripti_rai2005 »

I want to log into the OTRS agent or customer portal via a link on my existing web page.Once clicked on that link, user should be redirected to otrs and bypass the login page, as the user was already logged into the webpage from where he/she got redirected.
Currently i have configured my back end with ldap authentication.Hence i believe i am required to modify the authentication routine.
Can you help with the code snippet for this?
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
rafaqf
Znuny newbie
Posts: 80
Joined: 30 Mar 2011, 11:10
Znuny Version: 3

Re: Single Sign on how?

Post by rafaqf »

tripti_rai2005 wrote: Can you help with the code snippet for this?
Hi, sorry for the delay!

The perl script that we created was to Log Out the user. To Log in from other system, we used a portlet called iFrame, which creates a link containing the url to our OTRS system, and adding the credentials of the user + 'Action=Login'.

Maybe you just only need to create that type of URL in your link, and add the username and pasword. That should be a POST call, with parameters Action=Login, User="the user_name", Password="user_pwd".

Hope it helps, if you still want to have the log out code, just post it here.

Cheers!
OTRS 3.0.11 and KIX4OTRS on Linux
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Single Sign on how?

Post by tripti_rai2005 »

Hey , thanks for the reply.

I have created the following URLbut it doesn't seem to work.
http://ecall.sjtc.whirlpool.com/otrs/cu ... A_Password>

Do you think i am using the parameters (<OTRS_CUSTOMER_DATA_Username> <OTRS_CUSTOMER_DATA_Password> ) incorrect?
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
rafaqf
Znuny newbie
Posts: 80
Joined: 30 Mar 2011, 11:10
Znuny Version: 3

Re: Single Sign on how?

Post by rafaqf »

tripti_rai2005 wrote:Hey , thanks for the reply.

I have created the following URLbut it doesn't seem to work.
http://ecall.sjtc.whirlpool.com/otrs/cu ... A_Password>

Do you think i am using the parameters (<OTRS_CUSTOMER_DATA_Username> <OTRS_CUSTOMER_DATA_Password> ) incorrect?
Hi!

Sorry for the delay, but you didn't qouted me, and I have seen this message now!

It should work, could you fix it?
OTRS 3.0.11 and KIX4OTRS on Linux
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Single Sign on how?

Post by tripti_rai2005 »

<iframe src="http://engtech.whirlpool.com/enhancement/ecall/search?userid=User" width="100%" height="1000 px" name="$QData{"Title"}" marginheight="800 px" marginwidth="$QData{"Marginwidth"}" frameborder="$QData{"Frameborder"}" align="$QData{"Align"}" scrolling="$QData{"Scrolling"}" >
</iframe>
In the above link i want to pass the user id of the person currently logged in to the system.I am modifying CustomerTicketOverview.dtl.I am using parametr "User" to pass the username..is that incorrect?
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: Single Sign on how?

Post by tripti_rai2005 »

Can some one please respond to my query
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Single Sign on how?

Post by jojo »

Please read the developer manual!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply