# Oauth Login: How do i require the claim "verified: true"?

**URL:** <https://forum.gitea.com/t/oauth-login-how-do-i-require-the-claim-verified-true/11754>\
**Category:** Install/Maintain/Configure\
**Created:** [October 24, 2025, 3:53pm UTC](https://forum.gitea.com/t/oauth-login-how-do-i-require-the-claim-verified-true/11754 "2025-10-24T15:53:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hf\_147](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@hf\_147](https://forum.gitea.com/u/hf_147)\
**Post date:** [October 24, 2025, 3:53pm UTC](https://forum.gitea.com/t/oauth-login-how-do-i-require-the-claim-verified-true/11754/1 "2025-10-24T15:53:23Z")

</div>

I use Oauth2 (OpenID Connect) SSO. My provider returns a boolean called `verified` (in both the id\_token and the userinfo endpoint), it is similar to `email_verified`, with the difference that it is also true when users verify through other means as well.

What do i have to enter in the “Required Claim Name” and “Required Claim Value“ fields to require this to be true?

I tried `true` and `"true"` as Value, none of them seems to work, it always gets the`Your account is prohibited from signing in, please contact your site administrator.` page.  
It does work when i unset both.
