how to setup new OAuth 2.0 Client Credentials Setu...
# ask-stanley-ai
m
how to setup new OAuth 2.0 Client Credentials Setup
c
AI generated answer (using internal Slack threads):
To set up a new OAuth 2.0 Client Credentials in NetSuite, follow these steps: 1. Navigate to Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup in NetSuite. 2. Click on 'New' to create a new OAuth 2.0 Client Credentials. 3. Fill in the necessary details such as Name, Authentication Flows, and Token Endpoint. 4. For the 'Public Key' section, you need to generate a public key certificate. You can use OpenSSL to generate this. Here is an example command to generate a public-private key pair and a self-signed certificate:
Copy code
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
This command will generate a private key (
key.pem
) and a self-signed certificate (
cert.pem
). You can upload the
cert.pem
file in the 'Public Key' section. 5. After filling in all the details, click on 'Save'. Please note that NetSuite uses the assertion framework extension, so it's more complicated than normal client credentials. Also, remember to give access to the necessary roles who need to use this OAuth 2.0 Client Credentials. ****** 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.844655812
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824925065
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821927845
Please provide your feedback on this answer.