Skip to content

Commit

Permalink
feat: reduce the scope of authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
wfnuser committed Dec 27, 2024
1 parent 63baa45 commit 445e9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export const githubOAuthUri = () => {
}

export const githubOAuthContentUri = () => {
return `https://github.com/login/oauth/authorize?client_id=${CLIENT_ID}&redirect_uri=${getRedirectUri()}&response_type=code&scope=user:email,repo&prompt=consent`
return `https://github.com/login/oauth/authorize?client_id=${CLIENT_ID}&redirect_uri=${getRedirectUri()}&response_type=code&scope=user:email,public_repo,read:org,admin:repo_hook&prompt=consent`
}

0 comments on commit 445e9f9

Please sign in to comment.