Authentication
Authentication is a crucial aspect of API integrations, backend, and frontend app development. It ensures authorized access by requiring valid credentials like API keys or tokens. This shields sensitive data, prevents breaches, and builds user trust. Get started with VTEX authentication for developers with the following guides:
- API authentication using application keys
- App authentication using auth tokens
- User authentication and login
There are different contexts in which authentication is required in the regular functioning of a VTEX store. Below are some example use cases and the recommended authentication methods.
Use case | Indicated authentication methods |
---|---|
Backend VTEX IO app | User token via VTEX IO context, or, if needed, app authentication token via VTEX IO context |
Frontend VTEX IO app | User token via VTEX IO context |
Self-hosted backend request to VTEX APIs | Application keys |
Self-hosted frontend request to VTEX APIs | User token |
Learn more
- Authorization: Users, Roles and License Manager Resources
- Auditability: Audit