email_verified field type validation fails for some SAML users
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Empieza reproduciendo la obtención de client-info descrita en el issue con un valor de email_verified establecido en una cadena no vacía, y luego localiza la validación de tipo de ese campo. Se considera terminado cuando la biblioteca acepta el valor de Auth0 sin generar una excepción de tipo e incluye una prueba de regresión para el caso SAML.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Checklist
- I have looked into the Readme and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Hello,
For SAML connections the work around to set the email verified to become true is to set it to a non-empty string (see https://community.auth0.com/t/set-email-verified-to-true-for-saml-based-enterprise-users/62650). The new library with type checking doesn't like this and throws a type exception when pulling data that includes email_verified
Reproduction
- Create a user in auth0 with email_verified set to a non-empty string
- In auth0 this is treated as "true"
- Pull this client info using the library
Additional context
No response
auth0-python version
5.1.0
Python version
3.13
- Lenguaje dominante
- Python
- Estrellas
- 581
- Forks
- 189
- Merge medio
- 15 h 33 min
- PR fusionados (30 d)
- 6
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 auth0/auth0-python
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
auth0/auth0-python#852 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
auth0/auth0-python#856 · 4 comentarios · 1 reacción ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
auth0/auth0-python#798 · 1 comentario · 1 reacción ·
Todos los issues de auth0/auth0-python
Issues similares
-
essnmx good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
[Feature] 奇物选择添加优先级 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
syfoud/Simulated_Scepter#174 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Giskard-AI/giskard-oss#2840 · 1 comentario ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Abiertoarea: repo bug perceived difficulty: 2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
yeti-platform/yeti#1380 ·