Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
How do I format my ODBC connection string to use OAuth2.0 Certificate
I have configured an integration to allow for OAuth 2.0 (Authorization Code Grant, Client Credentials (M2M), and set scope to include SUITEANALYTICS CONNECT). I have generated a cert and uploaded it to NS OAuth 2.0 Client Credentials Setup. I can use this integration to generate an oauth access token and can use that in a DSN-less connection string in any number of applications to connect and see my data.
Working Example with specifics hidden:
DRIVER={NetSuite Drivers 64bit};Host=xxxxxxx-sb1.connect.api.netsuite.com;Port=1708;Encrypted=1;ServerDataSource=NetSuite2.com;Truststore=system;CustomProperties=AccountID=xxxxxxx_SB1;RoleID=57;OAuth2Token=xxxxxxx
I need help with the following: How can I change my connection string so that it utilizes the cert for M2M rather than need to generate a token each hour? I will happily change to a DSN if someone can suggest the modifications needed for the registry.