Single Sign On

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Single Sign On

Postby IanGP » Sat Oct 23, 2021 2:40 am

VERSION: 2.14-830a
BUILD: 210920-2159
Unfortunately, that's all the info I have, as my instance is being managed but someone else.

Hi There,
We are implementing a Single Sign On for Vicidial as well as two other applications.
The idea is to sign onto our identity server, then when going to Vicidial, a URL is passed with the agent details in order to skip the Agent Login.
It's easy enough to populate the fields, but I want to either simulate the Submit button, or skip that page altogether.

Setting relogin=No gets me into the agent interface, but the page layout is far from ideal.
https://vicidial/agc/vicidial.php?relogin=No&VD_login=****&VD_campaign=TESTING&phone_login=****&phone_pass=****&VD_pass=*****

Thanks In Advance
IanGP
 
Posts: 59
Joined: Thu Jul 28, 2016 1:27 am

Re: Single Sign On

Postby carpenox » Sat Oct 23, 2021 3:41 pm

Use the agent api
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2420
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Single Sign On

Postby IanGP » Sun Oct 24, 2021 2:44 am

Thanks Carpenox,

No joy on the Agent API.
The doc only has a logout function, rather than a login.

I tried using the pause function to simulate a login, but it doesn't address the logging in of the phone.
Also, for most of those functions, the user needs to be logged in already.

When I find an answer, I'll post here.

Regards
IanGP
IanGP
 
Posts: 59
Joined: Thu Jul 28, 2016 1:27 am

Re: Single Sign On

Postby mflorell » Sun Oct 24, 2021 7:29 am

The vicidial.php login page uses Javascript to gather the width and height of the browser window prior to logging in, so if you are going to bypass that step and still want the layout to fill the agent screen, you will need to send along the "JS_browser_height" and "JS_browser_width" variables as well.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Single Sign On

Postby IanGP » Mon Oct 25, 2021 8:47 am

Thanks Matt.
We'll keep that in mind for the next phase.

Since agents still need to select the Campaign, we moved to adding hide_relogin_fields=YES to the URL, rather than forcing the campaign from the ID Service.

Regards
IanGP
IanGP
 
Posts: 59
Joined: Thu Jul 28, 2016 1:27 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 114 guests