Branchwell

AI Resource Pro / website · airesourcepro.com / .cursor / rules / authentication.mdc

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.