How to find out whether anything is using NLAuth t...
# ask-stanley-ai
a
How to find out whether anything is using NLAuth to authenticate requests to our NetSuite account
c
AI generated answer (using internal Slack threads):
To find out whether anything is using NLAuth to authenticate requests to your NetSuite account, you would need to review your scripts and integrations. NLAuth is typically used in the headers of HTTP requests made by scripts or integrations. Here is an example of how NLAuth might be used in a script:
Copy code
var headers = {
    'Content-Type': 'text/plain',
    'User-Agent-x': 'SuiteScript-Call',
    'Authorization': 'NLAuth nlauth_account=1062XXX,nlauth_email=XXX@XXX.net,nlauth_signature=XXXXXXXXXX,nlauth_role=3'
}
In this example, the 'Authorization' header is using NLAuth for authentication. If you find similar code in your scripts or integrations, then they are using NLAuth for authentication. However, please note that using NLAuth with a plaintext password is deprecated and no longer supported. This functionality is targeted for removal in NetSuite 2021.1. It is recommended to use the three-step Token-Based Authentication (TBA) authorization flow or the OAuth 2.0 authorization code grant flow for authentication. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82232672
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821411133
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817932189
Please provide your feedback on this answer.