Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

email_verified field type validation fails for some SAML users

Aperta
#789 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Inizia riproducendo il recupero di client-info descritto nell’issue con un valore di email_verified impostato su una stringa non vuota, quindi individua la convalida del tipo per quel campo. L’attività è completata quando la libreria accetta il valore Auth0 senza sollevare un’eccezione di tipo e include un test di regressione per il caso SAML.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
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
  1. Create a user in auth0 with email_verified set to a non-empty string
  2. In auth0 this is treated as "true"
  3. Pull this client info using the library
Additional context

No response

auth0-python version

5.1.0

Python version

3.13

Lingua principale
Python
Stelle
581
Fork
189
Merge medio
15h 33m
PR unite (30g)
6

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di auth0/auth0-python

Tutte le issue di auth0/auth0-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.