{"id":45047464,"url":"https://github.com/morlinbrot/supa-fresh-pkce","last_synced_at":"2026-02-19T08:16:39.100Z","repository":{"id":210951427,"uuid":"727838320","full_name":"morlinbrot/supa-fresh-pkce","owner":"morlinbrot","description":"Example app implementing the PKCE authentication scheme with Deno's Fresh and Supabase","archived":false,"fork":false,"pushed_at":"2024-10-14T21:59:47.000Z","size":63,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T06:25:42.274Z","etag":null,"topics":["auth","deno","deno-fresh","pkce","supabase"],"latest_commit_sha":null,"homepage":"","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/morlinbrot.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}},"created_at":"2023-12-05T17:18:02.000Z","updated_at":"2025-04-20T04:53:25.000Z","dependencies_parsed_at":"2023-12-05T18:37:18.015Z","dependency_job_id":"77ecc914-344d-415d-b234-37b54e35126c","html_url":"https://github.com/morlinbrot/supa-fresh-pkce","commit_stats":null,"previous_names":["morlinbrot/supa-fresh-pkce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morlinbrot/supa-fresh-pkce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlinbrot%2Fsupa-fresh-pkce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlinbrot%2Fsupa-fresh-pkce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlinbrot%2Fsupa-fresh-pkce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlinbrot%2Fsupa-fresh-pkce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morlinbrot","download_url":"https://codeload.github.com/morlinbrot/supa-fresh-pkce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlinbrot%2Fsupa-fresh-pkce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auth","deno","deno-fresh","pkce","supabase"],"created_at":"2026-02-19T08:16:38.407Z","updated_at":"2026-02-19T08:16:39.096Z","avatar_url":"https://github.com/morlinbrot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supa Fresh PKCE\n\nAn example app using Deno's [Fresh](https://fresh.deno.dev/) framework and\n[Supabase](https://supabase.com/) implementing the PKCE authentication scheme.\n\nIf you like the app, consider leaving me a star!\n\n[![Github Repo Stars](https://img.shields.io/github/stars/morlinbrot/supa-fresh-pkce?style=social)](https://github.com/morlinbrot/supa-fresh-pkce)\n\n## Usage\n\nYou need a [Supabase account](https://supabase.com/) which you can create for\nfree. Create a `.env` file in the project root containing the following\nvariables:\n\n```txt\nSUPABASE_URL=https://\u003cprojectName\u003e.supabase.co\nSUPABASE_ANON_KEY=\u003capi_key\u003e\n```\n\nRun the app:\n\n```shell\ndeno task start\n```\n\nThis will watch the project directory and restart as necessary.\n\n## Server Messages with Deno Kv\n\nAn interesting tidbit about this app is that it uses Deno Kv to \"pass\" messages\nfrom API endpoints to route handlers which is a good example for the usefulness\nand simplicity of Deno Kv. Since there is no (elegant) way of passing values\nthrough a redirect, we store a message in the kv store, attach its id as search\nparameter, parse the id in a middleware and then attach the message back into\nthe `FreshContext`. This way, message value can be arbitrarily complex and may\nalso contain sensitive information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlinbrot%2Fsupa-fresh-pkce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorlinbrot%2Fsupa-fresh-pkce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlinbrot%2Fsupa-fresh-pkce/lists"}