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
faint-musician-4508
04/21/2023, 11:29 PM
@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.
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
faint-musician-4508
04/22/2023, 12:10 AM
Ah got it. That is an enhancement request in the works. Let me get you status.
g
gifted-florist-65280
04/30/2023, 11:05 AM
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
cuddly-branch-99004
05/01/2023, 3:27 PM
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.