npm SDK Authentication
The Artos npm SDK sends your Okta access token as a Bearer token on protected
API requests.
Install
If your organization uses GitHub Packages, configure .npmrc first:
Obtain an access token by signing in through your organization’s Okta
application. Use the access token issued for the Artos API—not an ID token.
Keep tokens in environment variables or a secure secret store. Never commit, log, or put them in browser URLs.
Keep the token in an environment variable or secure secret store. Never commit it, log it, or put it in a browser URL.
Pass the token to protected SDK methods:
Reuse an API client
The SDK sends the token as:
Common authentication errors