email_verified field type validation fails for some SAML users
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the client-info pull described in the issue with an email_verified value set to a non-empty string, then locate the type validation for that field. Done means the library accepts the Auth0 value without raising a type exception and includes a regression test for the SAML case.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 581
- Forks
- 189
- Avg merge
- 15h 33m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from auth0/auth0-python
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
auth0/auth0-python#852 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
auth0/auth0-python#856 · 4 comments · 1 reaction ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 52/100
auth0/auth0-python#798 · 1 comment · 1 reaction ·
All issues in auth0/auth0-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
learningequality/ricecooker#747 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
KhronosGroup/glTF-Blender-IO#2769 ·