How to get the Basic Auth Credentials in a gadget?
You can obtain the Basic Auth credentials of the logged in Finesse user with the following code:
var basicAuth = finesse.utilities.Utilities.getAuthHeaderString(finesse.gadget.Config);
If you need the agent's username/password combination, take a look at the How to get the user's credentials in a gadget article.
Please sign in to leave a comment.