> For a complete page index, fetch https://docs.transak.com/llms.txt # Authentication Whitelabel API calls made for a user, such as KYC and orders, need that user to be authenticated. There are two ways to do it. Pick one per user, and send only that method's headers: never both on the same request. Transak supports two approaches to authentication: #### [Transak Auth](/features/transak-auth) Transak emails the user a one-time password, and your app exchanges it for a user access token. #### [Partner Auth (Auth Reliance)](/features/auth-reliance) Log the user in with your own login and pass their verified email, so they skip a second login. ## Choose a method | | **Transak Auth** | **Partner Auth (Auth Reliance)** | | ------------------------ | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | **How the user logs in** | Transak emails the user a one-time password (OTP), and the user enters it in your app. | You log the user in with your own login. Transak relies on it, so there is no second login. | | **Headers on each call** | `authorization`: the user's access token, with no `Bearer` prefix | `x-access-token`: your Partner Access Token `x-user-identifier`: the user's email address | | **Token lifetime** | 30 days. Renew it with [Refresh User Access Token](/api/whitelabel/user/refresh-user-access-token). | 7 days. See [How to Create a Partner Access Token](/guides/how-to-create-partner-access-token). | | **Setup** | None beyond Whitelabel API access | Ask Transak to enable Auth Reliance for your API key, and allowlist your backend IP addresses | | **Best for** | Apps without their own verified login | Apps that already verify the user's email address | > Authenticate your users for the Whitelabel API with Transak Auth or Partner Auth (Auth Reliance). ## Docs - [Transak Auth](https://docs.transak.com/features/transak-auth.md): Log users in with a one-time password that Transak emails to them. - [Auth Reliance](https://docs.transak.com/features/auth-reliance.md): Authenticate users without requiring re-login into Transak's flow