# Need help in oauth2 setup

**URL:** <https://community.auth0.com/t/need-help-in-oauth2-setup/183968>\
**Category:** Get Help\
**Tags:** consent, application\
**Created:** [March 17, 2025, 7:29am UTC](https://community.auth0.com/t/need-help-in-oauth2-setup/183968 "2025-03-17T07:29:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![letmeknow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/letmeknow/32/71521_2.png) [@letmeknow](https://community.auth0.com/u/letmeknow)\
**Post date:** [March 17, 2025, 7:29am UTC](https://community.auth0.com/t/need-help-in-oauth2-setup/183968/1 "2025-03-17T07:29:49Z")

</div>

I have simple google oauth2 setup with permissions calendar and gmail

now what I want is when I login on my app  
it goes via normal process but only takes profile and all as in scope for login as usual.  
after that I have one more screen where I can toggle on gmail, calendar.

whether to use it or not.

now when I enable toggle for any of it, it should ask google content then enable it.

but I am not able to get this done.

reason: users could disable permission access on app whenever they want

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [March 31, 2025, 9:20pm UTC](https://community.auth0.com/t/need-help-in-oauth2-setup/183968/3 "2025-03-31T21:20:58Z")

</div>

Hi @letmeknow

Welcome to the Auth0 Community!

Thank you for posting your question. If you want to change the scope, you will need to reauthorize the use with the new scope → [https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint](https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 14, 2025, 9:21pm UTC](https://community.auth0.com/t/need-help-in-oauth2-setup/183968/4 "2025-04-14T21:21:47Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
