Page 1 of 1

Single Sign On

PostPosted: Sat Oct 23, 2021 2:40 am
by IanGP
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

Re: Single Sign On

PostPosted: Sat Oct 23, 2021 3:41 pm
by carpenox
Use the agent api

Re: Single Sign On

PostPosted: Sun Oct 24, 2021 2:44 am
by IanGP
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

Re: Single Sign On

PostPosted: Sun Oct 24, 2021 7:29 am
by mflorell
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.

Re: Single Sign On

PostPosted: Mon Oct 25, 2021 8:47 am
by IanGP
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