email_verified field type validation fails for some SAML users
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
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
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
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di auth0/auth0-python
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
auth0/auth0-python#852 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
auth0/auth0-python#856 · 4 commenti · 1 reazione ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
auth0/auth0-python#798 · 1 commento · 1 reazione ·
Tutte le issue di auth0/auth0-python
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·