cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
674
Views
0
Helpful
2
Replies

How to use SSO rest apis with a server side java application

gauravmarch
Level 1
Level 1

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?

2 Replies 2

dekwan
Cisco Employee
Cisco Employee

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-overview/what-is-cisco-identity-service-sdk

 

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

Dear Denise,
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?