# Oauth - "View pledge information about your patrons" message when trying to login

**URL:** <https://archive.patreoncommunity.com/t/oauth-view-pledge-information-about-your-patrons-message-when-trying-to-login/12169>\
**Category:** Tools\
**Created:** [April 26, 2021, 8:45am UTC](https://archive.patreoncommunity.com/t/oauth-view-pledge-information-about-your-patrons-message-when-trying-to-login/12169 "2021-04-26T08:45:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DungeonChannel](https://sea1.discourse-cdn.com/patreoncommunity/user_avatar/archive.patreoncommunity.com/dungeonchannel/32/5545_2.png) [@DungeonChannel](https://archive.patreoncommunity.com/u/DungeonChannel)\
**Post date:** [April 26, 2021, 8:45am UTC](https://archive.patreoncommunity.com/t/oauth-view-pledge-information-about-your-patrons-message-when-trying-to-login/12169/1 "2021-04-26T08:45:30Z")

</div>

Hello,

Today one of my new patrons showed me the login screen they got when trying to access my website through Patreon:

 ![Screen_Shot_2021-04-26_at_2.17.12_AM3](https://global.discourse-cdn.com/patreoncommunity/original/2X/2/24c91022341d27785b0e5bda71aa2ca894788b7e.png)

They were wary since they are creators themselves, and “View pledge information about your patrons” doesn’t sound great.

I honestly don’t remember ever seeing that before, and it also appears when someone who doesn’t have a creator account tries to login. Is there any specific scope or something that would trigger that message that I can remove?

I do need to check the pledge rewards for **my** patrons to get them access to what they paid for (the only things I really need are their pledge level and discord ID), but that message makes it sound I need to access **their** patrons.

This is what I’m using:  
`https://www.patreon.com/api/oauth2/v2/members/{member_id}?include=currently_entitled_tiers&fields%5Btier%5D=title`

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![CreatorMetrics](https://sea1.discourse-cdn.com/patreoncommunity/user_avatar/archive.patreoncommunity.com/creatormetrics/32/7670_2.png) [@CreatorMetrics](https://archive.patreoncommunity.com/u/CreatorMetrics)\
**Post date:** [April 26, 2021, 9:12am UTC](https://archive.patreoncommunity.com/t/oauth-view-pledge-information-about-your-patrons-message-when-trying-to-login/12169/2 "2021-04-26T09:12:35Z")

</div>

Hey Nick, the [scope](https://docs.patreon.com/#scopes) is set during the oauth and it seems that you’re setting it as `campaigns identity campaigns.members identity[email]`:  
 ![Screenshot_20210426_110320](https://global.discourse-cdn.com/patreoncommunity/original/2X/3/3e78cd23a30870695dfe1698cfd6b0b858826bc8.png)

Tthat scope does exactly what you mentioned: it allows to access their patrons and campaign.

If you only need to check their pledge to you, I think you could set the scope to just `identity` (unless you also need their email, but it doesn’t seem so), which would only require their public profile:  
 ![Screenshot_20210426_110409](https://global.discourse-cdn.com/patreoncommunity/original/2X/b/b85f280e48876d6e2c7e544d96c333865088b0a7.png)

And then from there you should be able to use the [identity endpoint](https://docs.patreon.com/#get-api-oauth2-v2-identity) to get their membership information, something like (I haven’t tried it): `/api/oauth2/v2/identity?fields[user]=social_connections&fields[member]=patron_status,currently_entitled_amount_cents&include=memberships`

I hope that helps 😉

---

<div class="post-metadata">

**Author:** ![DungeonChannel](https://sea1.discourse-cdn.com/patreoncommunity/user_avatar/archive.patreoncommunity.com/dungeonchannel/32/5545_2.png) [@DungeonChannel](https://archive.patreoncommunity.com/u/DungeonChannel)\
**Post date:** [April 26, 2021, 5:28pm UTC](https://archive.patreoncommunity.com/t/oauth-view-pledge-information-about-your-patrons-message-when-trying-to-login/12169/3 "2021-04-26T17:28:20Z")

</div>

You’re amazing, that did the trick!

I’m using Django allauth for authentication, and indeed those were the default scopes for patreon.

Thank you!
