Lattice now supports machine-to-machine (M2M) authentication using the OAuth 2.0 client credentials flow. This gives you more control over permissions and improved security using short-lived tokens.
We continue to support long-lived tokens for existing Lattice deployments while we roll out this new feature.
If you have a pre-existing integration deployed to a production Lattice environment, we encourage you to work with your Anduril representative to determine a timeline for migrating to the OAuth 2.0 client credentials flow.
If you are building a new integration within Lattice Sandboxes, we encourage you to start using the OAuth 2.0 client credentials flow.
You can find your Client ID and Client Secret in the Sandboxes UI under the Resource Credentials section:
In your integration, use the Lattice Client ID and Lattice Client Secret to submit requests to the API.
For more information about setting up your development environment, see Set up in the Lattice SDK guide.