title: Best practices keywords: [“authentication best practices”, “OAuth best practices”, “security best practices”, “API key security”, “token security”, “auth security”] description: Your API keys and tokens should be guarded very carefully. These credentials are directly tied to your [developer App](/resources/fundamentals/developer…--- Your API keys and tokens should be guarded very carefully. These credentials are directly tied to your developer App and those X account that have authorized you to make requests on behalf of them. If your keys are compromised, bad actors could use them to make requests to the X endpoints on behalf of your developer App or its authorized users, which could mean their requests might cause you to hit unexpected rate limits, use up your paid access allotment, or even cause your developer App to be suspended. The following sections include best practices that should be considered when managing your API keys and tokens.
Guides
Authentication best practices
title: Best practices keywords: [“authentication best practices”, “OAuth best practices”, “security best practices”, “API key security”, “token security”, “auth security”] description: Your API keys and tokens should be guarded very carefully. These credentials are directly tied to your [developer App](/resources/fundamentals/developer…--- Your API keys and tokens should be guarded very carefully. These credentials are directly tied to your developer App and those X account that have authorized you to make requests on behalf of them. If your keys are compromised, bad actors could use them to make requests to the X endpoints on behalf of your developer App or its authorized users, which could mean their requests might cause you to hit unexpected rate limits, use up your paid access allotment, or even cause your developer App to be suspended. The following sections include best practices that should be considered when managing your API keys and tokens.