AI Resource Pro / website · airesourcepro.com / .cursor / rules / authentication.mdc
| 1 | --- |
| 2 | description: authentication requirements |
| 3 | globs: |
| 4 | alwaysApply: false |
| 5 | --- |
| 6 | Our 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 | |
| 8 | There 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. |