Branchwell

Become a Pro / website · becomeapro.ai / .cursor / rules / authentication.mdc

Raw 449 B on b7854f3692d64213a2fce644d0b5101d3e345b03
1---
2description: authentication requirements
3globs:
4alwaysApply: false
5---
6Our primary authentcation on the API is supabase admin authentication. There is also an API key AI_RESOURCE_PRO_API_KEY stored in .env.local, but this is secondary.
7
8There is an authentication backdoor for localhost testing, but NEVER leave any authentication bypasses enabled or set BYPASS_AUTH_IN_DEV to true in the .env.local environment variables. Security is critical.