Skip to content

Commit

Permalink
fix: change delimiter of scopes to space
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Nov 15, 2024
1 parent b9cf5f4 commit 1d69bc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playgrounds/app/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function Header() {
class="ml-4"
href={`https://github.com/login/oauth/authorize?client_id=${
import.meta.env.VITE_GITHUB_CLIENT_ID
}&scope=${encodeURIComponent('read:user,user:email')}&redirect_uri=${
}&scope=${encodeURIComponent('read:useruser:email')}&redirect_uri=${
window.location.origin
}/oauth`}
>
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/app/src/routes/logged-out.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function LoggedOut() {
as="a"
href={`https://github.com/login/oauth/authorize?client_id=${
import.meta.env.VITE_GITHUB_CLIENT_ID
}&scope=${encodeURIComponent('read:user,user:email')}&redirect_uri=${
}&scope=${encodeURIComponent('read:user user:email')}&redirect_uri=${
window.location.origin
}/oauth`}
>
Expand Down

0 comments on commit 1d69bc5

Please sign in to comment.