Sign-in: add GitHub as a sign-in method
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github, typescript
- Área
- authentication, documentation
Línea de trabajo
Start in lib/auth/providers.ts and follow how the Google entry is listed and wired into the auth configuration and sign-in action. Add a GitHub entry that is shown only when its client ID and secret are set, then update the example env file and the self-hosting docs under content/docs/. Done when the provider, action and login-form tests cover GitHub, an unconfigured provider id is rejected, and pnpm test and pnpm build pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Copied from DeadantCo/answerLoops#99 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/455 — originally opened by
@NathanTarberton 2026-10-23
Problem
The sign-in page now reads its methods from the list in lib/auth/providers.ts (shipped in #371), but Google is the only entry. Developers and many self-hosters expect to sign in with GitHub, and people without a Google account cannot sign in at all.
Scope
- Add a
githubentry to the provider list inlib/auth/providers.ts, listed only when its client ID and secret are set, so installs without them see no dead button. - Register the matching provider in the auth configuration and make sure new users go through the same account provisioning as the Google path.
- Carry plan, billing period, promo code and the post-login destination through exactly as the Google path does.
- Add the new environment variables to the example env file and the self-hosting docs under
content/docs/, with a short setup walkthrough. - Cover the new entry in the existing provider, action and login-form tests.
Acceptance criteria
- A GitHub button appears on
/loginonly when its credentials are set, and signing in creates or finds the right user and organization. - Plan, interval, promo code and redirect survive the GitHub sign-in.
- An unlisted or unconfigured provider id is rejected by the sign-in action.
- Docs and the example env file describe the new variables.
-
pnpm testandpnpm buildpass.
Related: #370, #371
Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPosiblemente ocupada @sethr07 la tomó hoy. Abiertoenhancement frontend help wanted
Dificultad 2/5 Medio día Aptitud para principiantes 75/100
DeadantCo/answerLoopsdev#68 · 3 comentarios ·
-
Widget: make the chat window fit on small phonesPosiblemente ocupada @sethr07 la tomó hoy. Abiertoenhancement frontend good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
DeadantCo/answerLoopsdev#67 · 9 comentarios ·
-
Add 'select all' option to Slack channel picker in SettingsPosiblemente ocupada @sethr07 la tomó hoy. Abiertofrontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DeadantCo/answerLoopsdev#22 · 5 comentarios ·
-
enhancement frontend help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
DeadantCo/answerLoopsdev#140 ·
Todos los issues de DeadantCo/answerLoopsdev
Issues similares
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
lingdojo/kana-dojo#34545 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Blocklist addition requestAbiertoblocklist addition
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
MetaMask/eth-phishing-detect#315455 ·
Los mantenedores suelen responder en 1 día
-
area: telegram bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
griffinwork40/agent-afk#5275 ·
Los mantenedores suelen responder en 1 día
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getopenscreen/openscreen#1667 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
erkamyaman/rust-anything#371 ·
Los mantenedores suelen responder en 1 día