Hi ,
We are facing the issue to connect to the Content Server with CWS SSO but could not able to login.
I have followed the below steps.
Content Server 16.2
KC URL:
Example :
Below is the piece of the code having the issue.Please let us know if anything need to done for CWS with SSO
username = null;
password = null;
AuthenticationClient authClient = new AuthenticationClient();
try
{
Console.Write("Authenticating User...");
//How do I obtain the auth token without user name and password
authToken = authClient.AuthenticateUser(username, password);
Console.WriteLine("Success!\n");
}
catch (FaultException ex)
{
Console.WriteLine("Failed!");
Console.WriteLine("{0} : {1}\n", ex.Code.Name, ex.Message);
MessageBox.Show(ex.Message);
return;
}
finally
{
// Always close the client
authClient.Close();
}
Thank you in advance.
We are facing the issue to connect to the Content Server with CWS SSO but could not able to login.
I have followed the below steps.
Content Server 16.2
KC URL:
Example :
Below is the piece of the code having the issue.Please let us know if anything need to done for CWS with SSO
username = null;
password = null;
AuthenticationClient authClient = new AuthenticationClient();
try
{
Console.Write("Authenticating User...");
//How do I obtain the auth token without user name and password
authToken = authClient.AuthenticateUser(username, password);
Console.WriteLine("Success!\n");
}
catch (FaultException ex)
{
Console.WriteLine("Failed!");
Console.WriteLine("{0} : {1}\n", ex.Code.Name, ex.Message);
MessageBox.Show(ex.Message);
return;
}
finally
{
// Always close the client
authClient.Close();
}
Thank you in advance.