Clerk + OAuth scopes

Hey! What’s the easiest way to request additional scopes for a user that’s already logged in via Clerk? My users sign in with Google and I want to show them their Google Analytics data. I’ve done this before but that meant implementing the entire OAuth flow. I figured since they’re already logged in, there must be an easier way? If not Clerk, does any third party auth provider make this easy?
Solution:
You just add the scopes in the dashboard if you want them at time of login otherwise. You can set them after the fact but using the user profile or the user hook
No description
Jump to solution
3 Replies
Solution
James Perkins
James Perkins8mo ago
You just add the scopes in the dashboard if you want them at time of login otherwise. You can set them after the fact but using the user profile or the user hook
No description
James Perkins
James Perkins8mo ago
Social Connections (OAuth) | Clerk
Learn how to effortlessly add social connections to your application using popular OAuth providers like Google, Facebook, Github and more.
macaullyjames
macaullyjames8mo ago
Oh wow, thank you so much! I searched before posting but nothing came up.