Skip to content

Commit

Permalink
fix: add scope to oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Nov 15, 2024
1 parent 2e2f833 commit f096f67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playgrounds/app/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export default function Header() {
class="ml-4"
href={`https://github.com/login/oauth/authorize?client_id=${
import.meta.env.VITE_GITHUB_CLIENT_ID
}&redirect_uri=${window.location.origin}/oauth`}
}&scope=${encodeURIComponent('user:email')}&redirect_uri=${
window.location.origin
}/oauth`}
>
<OcMarkgithub2 size={24} class="mr-4" />
Login/Signup
Expand Down

0 comments on commit f096f67

Please sign in to comment.