Smokeball home page
Search...
⌘K
Ask AI
Support
Developer Console
Developer Console
Search...
Navigation
Apps
Security
Home
Platform
API
SDK
Status
Release Notes
Marketplace
Blog
Get Started
Overview
Partner Program
Build
Developer Console
Apps
Overview
Creating an app
Building your app
Publishing your app
Sharing your app
Security
Troubleshooting
Common issues
On this page
Best Practices
Secure Token Storage
Token Handling
Resources
Apps
Security
Learn how to follow best security practices
This guide covers essential security practices for handling authentication tokens and securing your app on the Smokeball platform.
Best Practices
Here are essential security practices for handling OAuth 2.0 authentication tokens in your application:
Secure Token Storage
Never store access tokens or refresh tokens in client-side code, local storage, or cookies
Store tokens securely on your backend server using:
Encrypted databases
Key management services (AWS KMS, Azure Key Vault, etc.)
Use environment variables for sensitive credentials in development
Implement proper access controls and audit logging for token access
Token Handling
Only transmit tokens over HTTPS/TLS
Implement token refresh using the supplied refresh token
Revoke compromised tokens immediately or contact us if you think you have been compromised
Resources
OAuth 2.0 Best Practices
OAuth 2.0 Security
Sharing your app
Common issues
Assistant
Responses are generated using AI and may contain mistakes.