Is there an example using DeScope and Social Login...
# ask-a-descoper
c
Is there an example using DeScope and Social Logins (OAuth), and asking for additional optional scopes? Or asking a user for additional scopes later? I’m looking specifically at the React/NextJS examples.
f
@cuddly-branch-99004 you can configure your own social login credentials for an app in the authentication method customize screen. For react example, check our QuickStart guide and the video as well.
c
Yes, but looking at those resources doesn’t show me how to ask for additional OAuth scopes. The 2nd link provides a list of required scopes for when using your own OAuth Client ID/Secret, but I don’t see a field in the UI (under app.descope.com ) to ask for additional OAuth scopes. We might be trying to overload Descope here: I’m trying to figure out if it makes sense for Descope to ask for Google OAuth tokens to use other Google APIs.
f
Ah got it. That is an enhancement request in the works. Let me get you status.
g
hi @cuddly-branch-99004! just wanted to update that we’re working on this feature, and hopefully it will be ready by mid-end of may 🙂 can you maybe share the user journey you’re envisioning for this? what would you want to do with those scopes?
c
We were hoping to add additional OAuth Scopes to be able to re-use the same token for Google API calls, as they require OAuth as well. Specifically, we were looking at the Google Search Console API. If there’s more information I can provide, let me know.
🙏🏼 1