{"id":20083503,"url":"https://github.com/mause/vercel-jwt-auth","last_synced_at":"2026-03-11T22:43:03.039Z","repository":{"id":36967698,"uuid":"398757157","full_name":"Mause/vercel-jwt-auth","owner":"Mause","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-02T09:58:43.000Z","size":319,"stargazers_count":1,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T13:00:11.334Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mause.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-08-22T09:05:42.000Z","updated_at":"2023-01-31T19:05:54.000Z","dependencies_parsed_at":"2023-02-17T15:01:00.759Z","dependency_job_id":"498a03ae-b349-4653-91c8-69667c21d86f","html_url":"https://github.com/Mause/vercel-jwt-auth","commit_stats":{"total_commits":120,"total_committers":5,"mean_commits":24.0,"dds":0.3416666666666667,"last_synced_commit":"6e734b7c117cc53e8c29cfeecd3886232144a1a3"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mause%2Fvercel-jwt-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mause%2Fvercel-jwt-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mause%2Fvercel-jwt-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mause%2Fvercel-jwt-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mause","download_url":"https://codeload.github.com/Mause/vercel-jwt-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233682444,"owners_count":18713552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-13T15:47:28.179Z","updated_at":"2026-03-11T22:43:03.004Z","avatar_url":"https://github.com/Mause.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vercel-jwt-auth\n\nThis provides a very simple function to wrap handlers in vercel, with jwt verification - the only parameter is the secret to verify the jwt\n\n```typescript doctest\nimport { supabase, VercelRequestWithUser } from \"../src/vercel-jwt-auth\";\n\nconst SECRET = \"...\";\n\nconst endpoint = supabase(SECRET)((req: VercelRequestWithUser, res) =\u003e {\n  console.log(req.user);\n  res.status(200);\n  res.json(\"OK\");\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmause%2Fvercel-jwt-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmause%2Fvercel-jwt-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmause%2Fvercel-jwt-auth/lists"}