How to use SSO rest apis with a server side java application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 03:16 AM
My use case: I have a java app where I am connecting with finesse with server side rest apis. So far so good. But when I enable sso for agents, my login and requests fails. I am looking for a solution for this.
I have already visited cisco link for https://developer.cisco.com/docs/finesse/#!single-sign-on
But getting no practical idea of implementation. This seems a more browser based api then server side.
Like I can user User/Dialog rest apis from my java app server side, can I do the same for SSO?
- Labels:
-
Finesse

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 09:08 AM
Hi,
If you have a Java app, you should be using the SSO SDK to get the correct tokens:
https://developer.cisco.com/docs/contact-center-express/#!cisco-identity-service-client-sdk-guide
https://developer.cisco.com/docs/contact-center-express/#!cisco-identity-service-client-sdk
(I know it is under express, but its the same for enterprise too)
The Finesse REST APIs support SSO in the sense where you can use the Bearer Auth with the token to authorize.
Thanx,
Denise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 06:50 PM
Thanks for your reply.
Could you please provide me some working sample code for the client-sdk. On
these links only a small code part is mentioned where I am stuck in finding
how to o get the AuthirizationCode.
Secondly, if I use this sdk yo get the token, I do not understand how I
will be further calling finesse for other operations like make call, state
change etc. Will I still have to use finesse rest apis with that token
somehow?
Also, what do you mean by bearer auth in finesse rest api SSO?
