cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1046
Views
0
Helpful
1
Replies

Jabber Web SDK issues with UPN

Jayant Kohli
Cisco Employee
Cisco Employee

Hi Team,

For our application, we use jabber web sdk for getting the presence/contacts status of a particular user. Recently, for one of the use cases, we need to use UPN instead of SAMaccountName for the users. We are able to login successfully  using the credentials in the jabber client however, when we login via jabber web SDK, it gives us 404 Unauthorized.  Is it because the user UPN gets appended with domain name?

Is there a specific way on how Jabber APIs handle UPN authentication?

I am unable to find any documentation on it. Please advise.

Regards,

Jayant

1 Reply 1

npetrele
Cisco Employee
Cisco Employee

Your application is probably appending the @domain.com to the login name.  All you have to do is modify your code so that it doesn't do that. 

For example, your connect code probably looks something like this:

  this.client.connect($("#username").val() + "@" + $("#domain").val(), $("#password").val(), connectArgs);


Make it look more like this:


  this.client.connect($("#username").val(), $("#password").val(), connectArgs);