Extension Developer Tools with Token-Based Authentication

Enable token-based authentication in Extension Developer Tools with integration records to enhance security and streamline access.

·2 min read·1 views·View Oracle Docs

Token-based authentication (TBA) is a secure method to authenticate users and applications within the Oracle NetSuite ecosystem. This article outlines how to utilize Extension Developer Tools to implement TBA, ensuring a more secure development environment and enabling seamless integration of applications.

How to Use Extension Developer Tools with Token-Based Authentication

To integrate token-based authentication using Extension Developer Tools, follow these steps:

Step 1: Create an Integration Record

  1. Navigate to Setup > Integration > Manage Integrations > New.
  2. Provide a Name for the integration record.
  3. Set the State to Enabled.
  4. Check the Token-Based Authentication box.
  5. Enable the TBA: Authorization Flow option.
  6. Enter the Callback URL as http://localhost:7777/tba.
  7. Uncheck the Authorization Code Grant box.
  8. Enable the User Credentials checkbox.

Step 2: Save and Copy Credentials

  • Be sure to save the integration record. After saving, copy the consumer key and secret displayed on the screen before closing the page.

Step 3: Configure the .env File

  • Paste the consumer key and secret into the .env file found in the root folder of the Extension Developer Tools installation. This folder is created during the setup of the developer tools.

Important Notes

  • If you have already configured the Integration Records for Theme Developer Tools, this setup process does not need to be repeated.
  • Transitioning from user credentials to TBA is recommended for better security. It is also advisable to create a separate integration record for each application that uses TBA.

Who This Affects

  • Administrators: Responsible for setting up integration records and managing access.
  • Developers: Implementing application integrations and ensuring secure authentication processes.

Token-based authentication simplifies the authentication process while enhancing security. By following the steps outlined, you can ensure effective integration of applications within NetSuite.

Frequently Asked Questions (4)

Do I need to create a new integration record if I already have one for Theme Developer Tools?
No, if you have already configured an integration record for Theme Developer Tools, you do not need to repeat the process for Extension Developer Tools.
What are the prerequisites for implementing token-based authentication with Extension Developer Tools?
You need to create an integration record and enable Token-Based Authentication. Ensure you also have the TBA: Authorization Flow enabled and configure the necessary settings in the integration record.
How is the consumer key and secret used in the configuration process?
After saving the integration record, the consumer key and secret must be copied and pasted into the .env file located in the root folder of the Extension Developer Tools installation.
What should I do if I want to enhance security when using Extension Developer Tools?
It is recommended to transition from user credentials to token-based authentication and create a separate integration record for each application that requires TBA.
Source: Using Extension Developer Tools with Token-Based Authentication Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Integration

View all Integration articles →