In netsuite restlet, can I do authentication with ...
# ask-stanley-ai
b
In netsuite restlet, can I do authentication with bearer token?
c
AI generated answer (using internal Slack threads):
In NetSuite Restlet, you cannot do authentication with a bearer token. NetSuite Restlets support their custom NLAuth header and the TBA (Token-Based Authentication) OAuth header, which is OAuth 1.0a. However, it's important to note that NetSuite does not support Basic Authentication for Restlets. Also, if you're trying to connect from a client-side application like React, you might face issues with CORS (Cross-Origin Resource Sharing) when using TBA. For OAuth 2.0, while NetSuite does implement it, the process is more complicated, especially with APIs that require refresh tokens. The OAuth 2.0 handshake process is typically browser-based and might not be fully supported in a Restlet context. ****** 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.846283734
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835687876
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83528173
Please provide your feedback on this answer.