# How to check verification based on user's role?

**URL:** <https://community.auth0.com/t/how-to-check-verification-based-on-users-role/123606>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [December 23, 2023, 4:40pm UTC](https://community.auth0.com/t/how-to-check-verification-based-on-users-role/123606 "2023-12-23T16:40:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [January 2, 2024, 9:07pm UTC](https://community.auth0.com/t/how-to-check-verification-based-on-users-role/123606/3 "2024-01-02T21:07:36Z")

</div>

Hey there @zedeleyici !

In your testing, does `user_roles_or_permissions` contain the correct role?

Auth0 also provides a [Python SDK](https://auth0.com/docs/libraries#backend) that could help verify/validate tokens and users roles (you would [add these](https://community.auth0.com/t/add-roles-to-access-token/76471/2) directly to tokens in an [Action](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow)).

---

_[View the full topic](https://community.auth0.com/t/how-to-check-verification-based-on-users-role/123606)._
