Property name 'full_name' should be spelled 'fullname' without underscores
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- authentication, backend
Línea de trabajo
Empieza en auth_backends/backends.py, línea 12, e inspecciona cómo se asigna el claim JWT a los datos de registro. Confirma la ortografía utilizada por el flujo de registro y verifica que el nombre corregido rellene el campo de registro para que los usuarios de SSO que acceden por primera vez puedan continuar sin confirmar el formulario.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello,
I believe there is a spelling error at the file auth_backends/backends.py, line 12
I think it should be written 'fullname' without underscores, and not 'full_name'.
This is used for mapping the claims provided in the JWT returned by the OAuth authorization code grant flow, but the name 'full_name' is not recognized at the 'registration' part of the pipeline, which in turn leaves the corresponding registration field empty, making it impossible to proceed with a SSO without the user confirming the registration form (in the case it's the first time a user gets registered in by means of third party SSO).
Changing it into 'fullname' makes this work.
Tested using a production environment using the "auth_backends.backends.EdXOAuth2" backend used for SSO of LMS with a custom OAuth2 identity provider.
I don't know if it was the original purpose, but I found this implementation to be very useful to be used for SSO with a generic third party OAuth2 Identity Provider implemented in house (not one of those well known public providers already listed in python-social-auth).
- Lenguaje dominante
- Python
- Estrellas
- 24
- Forks
- 24
- Merge medio
- 3 d 21 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni 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 openedx/auth-backends
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
openedx/auth-backends#479 ·
Los mantenedores suelen responder en 5 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
openedx/auth-backends#26 · 3 comentarios · 3 reacciones ·
Los mantenedores suelen responder en 5 días
Todos los issues de openedx/auth-backends
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
can4hou6joeng4/boss-agent-cli#1487 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
btclib-org/btclib-wallet#1045 ·
Los mantenedores suelen responder en 1 día
-
area-templates triage:bot-seen triage:needs-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/aspire#22356 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100