Branchwell

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

Raw 449 B on 6c7ce85c3441baadd17890ab9cc9bf8ed5112901
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.