05-31-2019 06:23 AM
Dear Experts,
Could someone tell me if/how I can make an agent (sso enabled) login to my finesse server (sso enabled) programmatically?
I have been following links:
- https://developer.cisco.com/docs/finesse/#!single-sign-on/single-signon
- https://developer.cisco.com/docs/contact-center-express/#cisco-identity-service-client-sdk-overview
and have also been using cisco-identity-service-client-sdk, but couldn't understand how to get the authcode programmatically to fetch access token.
Or its not possible at all as user will have to login by a browser session only?
Between this is how I can make an agent login using finesse rest api without enabling sso,
https://developer.cisco.com/docs/finesse/#!usersign-in-to-finesse/usersign-in-to-finesse
I want to make sso enabled agent also login programmatically from server side, but couldn't understand how.
Solved! Go to Solution.
05-31-2019 09:42 AM
Hi,
After you get the token from the IDS, you will use the same REST APIs, but for the authorization, you will use Bearer + token instead of Basic.
Thanxm
Denise
05-31-2019 09:42 AM
Hi,
After you get the token from the IDS, you will use the same REST APIs, but for the authorization, you will use Bearer + token instead of Basic.
Thanxm
Denise
06-02-2019 10:42 PM
Dear Denise,
Thanks a lot for your attention and kind replies.
Indeed the further rest API apis works with Bearer toekn auth header once the user is logged-in.
But as I asked could you please get some help for me regarding case how could I make user programmatically login to finesse like the normal rest apis.
As of now, I have to get my user logged-in in browser first, then get his token and then the rest apis works.
Regards
Gaurav
08-29-2020 02:37 PM
@gaurav Did you get an answer to your question about how to do this programatically ? I can do it if I login through the browser. But I need to call the api through code.
Let me know.
TIA
08-31-2020 10:03 AM
Hi,
Are you trying to use the API without the user inputting their username password? That isn't possible since the APIs need authentication. There isn't a way to get their token without them typing in their username and password at one point.
Thanx,
Denise
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide