{"id":26267537,"url":"https://github.com/oslabs-beta/solid-auth","last_synced_at":"2025-04-30T19:08:50.710Z","repository":{"id":254622788,"uuid":"847026778","full_name":"oslabs-beta/solid-auth","owner":"oslabs-beta","description":"solid-auth is a flexible authentication library for SolidStart applications, providing both server-side authentication logic and ready-to-use UI components. It combines secure session management and user authentication with customizable, themed login/signup forms to help developers quickly implement authentication in their SolidStart apps.","archived":false,"fork":false,"pushed_at":"2024-11-16T23:08:01.000Z","size":684,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-04-30T19:08:19.296Z","etag":null,"topics":["solidjs","solidstart"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/oslabs-beta.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,"zenodo":null},"funding":{"github":"open-source-labs","custom":["https://donorbox.org/donations-to-oslabs-inc"]}},"created_at":"2024-08-24T16:30:48.000Z","updated_at":"2024-11-21T01:58:52.000Z","dependencies_parsed_at":"2024-11-12T03:23:28.652Z","dependency_job_id":"dccf9bf7-8711-4678-91be-a702639de8ea","html_url":"https://github.com/oslabs-beta/solid-auth","commit_stats":null,"previous_names":["oslabs-beta/solid-auth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2Fsolid-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2Fsolid-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2Fsolid-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oslabs-beta%2Fsolid-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oslabs-beta","download_url":"https://codeload.github.com/oslabs-beta/solid-auth/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251767186,"owners_count":21640469,"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":["solidjs","solidstart"],"created_at":"2025-03-14T04:17:13.119Z","updated_at":"2025-04-30T19:08:50.686Z","avatar_url":"https://github.com/oslabs-beta.png","language":"CSS","funding_links":["https://github.com/sponsors/open-source-labs","https://donorbox.org/donations-to-oslabs-inc"],"categories":[],"sub_categories":[],"readme":"# solidauth\n\nA comprehensive authentication solution for SolidStart applications, providing both server-side authentication logic and pre-built UI components.\n\n## Packages\n\n### @solidauth/server\n\nServer-side authentication package with session management, user authentication, and security features.\n\nKey features:\n\n- Secure session handling with Vinxi integration\n- Customizable login/register flows\n- Password hashing support\n- TypeScript-first design\n\n[Server Documentation](./packages/server/README.md)\n\n### @solidauth/ui\n\nReady-to-use authentication UI components with light and dark themes.\n\nKey features:\n\n- Light/Dark theme variations\n- Responsive design\n- Google OAuth integration ready\n- Customizable styling\n\n[UI Documentation](./packages/ui/README.md)\n\n## Quick Start\n\n```bash\n# Install both packages\nnpm install @solidauth/server @solidauth/ui\n\n# Additional peer dependencies\nnpm install @solidjs/router solid-js vinxi\n```\n\nBasic setup:\n\n```tsx\n// Server setup\nimport { createAuthCallbacks } from '@solidauth/server';\nimport { useSession } from 'vinxi/http';\n\nconst auth = createAuthCallbacks(useSession);\n\n// UI implementation\nimport { LoginFormLight } from '@solidauth/ui';\n\nexport default function AuthPage() {\n  return \u003cLoginFormLight /\u003e;\n}\n```\n\n## Development\n\n### Project Structure\n\n```\nsolidauth/\n├── packages/\n│   ├── server/     # Server-side authentication logic\n│   └── ui/         # Authentication UI components\n└── tsconfig.base.json  # Shared TypeScript configuration\n```\n\n### Local Development Setup\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Build packages:\n   ```bash\n   cd packages/server \u0026\u0026 npm run build\n   cd ../ui \u0026\u0026 npm run build\n   ```\n\n### Using npm link\n\nTo test changes locally with an external app:\n\n1. Link packages:\n   ```bash\n   cd packages/server \u0026\u0026 npm link\n   cd ../ui \u0026\u0026 npm link\n   ```\n2. In your app:\n   ```bash\n   npm link @solidauth/server @solidauth/ui\n   ```\n\n## Contributing\n\nContributions welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslabs-beta%2Fsolid-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foslabs-beta%2Fsolid-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foslabs-beta%2Fsolid-auth/lists"}