cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
149
Views
0
Helpful
1
Replies
Highlighted
Cisco Employee

Jabber Web SDK issues with UPN

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

Everyone's tags (2)
1 REPLY 1
Cisco Employee

Re: Jabber Web SDK issues with UPN

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);


CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.