{"id":41074277,"url":"https://github.com/resend/supabase-auth-hooks-with-resend-templates","last_synced_at":"2026-01-22T13:14:58.092Z","repository":{"id":333474375,"uuid":"1107843807","full_name":"resend/supabase-auth-hooks-with-resend-templates","owner":"resend","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-03T20:39:14.000Z","size":439,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T18:43:51.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/resend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-01T17:24:48.000Z","updated_at":"2025-12-08T08:34:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/resend/supabase-auth-hooks-with-resend-templates","commit_stats":null,"previous_names":["resend/supabase-auth-hooks-with-resend-templates"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/resend/supabase-auth-hooks-with-resend-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fsupabase-auth-hooks-with-resend-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fsupabase-auth-hooks-with-resend-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fsupabase-auth-hooks-with-resend-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fsupabase-auth-hooks-with-resend-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resend","download_url":"https://codeload.github.com/resend/supabase-auth-hooks-with-resend-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fsupabase-auth-hooks-with-resend-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T13:14:57.586Z","updated_at":"2026-01-22T13:14:58.083Z","avatar_url":"https://github.com/resend.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Add the following to .env.local:\n\n```\nNEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co\nNEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key\n```\n\nAdd the following to .env:\n\n```\nRESEND_API_KEY=your-resend-api-key\nSEND_EMAIL_HOOK_SECRET=your-hook-secret\nSENDER_EMAIL=your-sender-email\n```\n\n\n## Push two items to Supabase:\n\n1. env variables\n\n```\nsupabase secrets set --env-file .env\n```\n\n1. send auth emails function\n```\nsupabase functions deploy send-auth-emails --no-verify-jwt`\n```\n\n## Add auth hooks to Supabase:\n\n- Enable auth hooks in Supabase dashboard\n- Add an HTML webhook\n- Generate a secret key\n\nSee [Supabase documentation](https://supabase.com/docs/guides/auth/auth-hooks) for auth hooks more information.\n\n## Update .env file\n\nAdd the Supabase auth hook secret to the .env file.\n\nThen push the changes to Supabase:\n\n```\nsupabase secrets set --env-file .env\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fsupabase-auth-hooks-with-resend-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresend%2Fsupabase-auth-hooks-with-resend-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fsupabase-auth-hooks-with-resend-templates/lists"}