{"id":20293113,"url":"https://github.com/mingderwang/lucia-astro-github-oauth","last_synced_at":"2026-05-07T20:45:00.482Z","repository":{"id":208977802,"uuid":"722874235","full_name":"mingderwang/lucia-astro-github-oauth","owner":"mingderwang","description":"GitHub OAuth example with Lucia and Astro (release to vercel fail because of cannot run sqlite)","archived":false,"fork":false,"pushed_at":"2023-12-02T04:52:47.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T05:15:52.434Z","etag":null,"topics":["astro","example","lucia","lucia-auth"],"latest_commit_sha":null,"homepage":"https://github.com/settings/developers","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/mingderwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-11-24T06:49:00.000Z","updated_at":"2023-12-04T04:46:35.000Z","dependencies_parsed_at":"2023-11-24T10:50:04.924Z","dependency_job_id":"09dc23d9-6e09-4a41-8778-499e95f48ac4","html_url":"https://github.com/mingderwang/lucia-astro-github-oauth","commit_stats":null,"previous_names":["mingderwang/lucia-astro-github-oauth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mingderwang/lucia-astro-github-oauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Flucia-astro-github-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Flucia-astro-github-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Flucia-astro-github-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Flucia-astro-github-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mingderwang","download_url":"https://codeload.github.com/mingderwang/lucia-astro-github-oauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Flucia-astro-github-oauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32755860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["astro","example","lucia","lucia-auth"],"created_at":"2024-11-14T15:21:34.749Z","updated_at":"2026-05-07T20:45:00.457Z","avatar_url":"https://github.com/mingderwang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub OAuth example with Lucia and Astro\n\n```bash\n# install dependencies\npnpm i\n\n# run dev server\npnpm dev\n```\n\n## Setup GitHub OAuth\n\n[Create a new GitHub OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app). The redirect uri should be set to `localhost:5173/login/github/callback`. Copy and paste the client id and secret into `.env`.\n\n```bash\nGITHUB_CLIENT_ID=\"\"\nGITHUB_CLIENT_SECRET=\"\"\n```\n\n## User schema\n\n| id         | type     | unique |\n| ---------- | -------- | :----: |\n| `id`       | `string` |        |\n| `username` | `string` |        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Flucia-astro-github-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingderwang%2Flucia-astro-github-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Flucia-astro-github-oauth/lists"}