Skip to main content

One post tagged with "authentication"

View All Tags

OAuth 2.0 vs API Keys: Why We Started with OAuth (And Why We're Adding API Keys Too)

· 3 min read
Trading Card API Team
Developer Relations
OAuth 2.0 vs API Keys Authentication Methods

When I first built the Trading Card API, I chose OAuth 2.0 with Laravel Passport. It gave us enterprise-grade security and flexibility from day one.

After using the API on my own projects, I've realized that while OAuth is perfect for some use cases, many developers would benefit from the simplicity of API keys for others. Here's why we're adding both options.