Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Not accepting to share part of the scope requested to the user.

Once a user accesses my site for the first time, and I ask him to share a certain scope, if the user does not accept one of them, the next time he accesses, that scope appears as pre-selected, without giving the user the option of not sharing it, because if he cancels he gets an error message.

What can I do so that this pre-selected scope does not appear, giving the user the option to enter without selecting it and thus not give error?

 

2 1 221
1 REPLY 1

Greetings @XeerpaDev,

You can consider adopting incremental authorization, where you request minimum permissions initially and ask for additional scopes as needed. You can also incorporate a logic in your app that tracks users' previous consent choices. This ensures that scopes once declined by the user aren't automatically presented in subsequent consent prompts, thereby respecting their initial decisions and improving the overall interaction with your app.

Top Labels in this Space
Top Solution Authors