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:Jump to 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
3 Replies
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
Social Connections (OAuth) | Clerk
Learn how to effortlessly add social connections to your application using popular OAuth providers like Google, Facebook, Github and more.
Oh wow, thank you so much! I searched before posting but nothing came up.