Skip to content

Commit

Permalink
Fix github OAuth permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Feb 17, 2024
1 parent 0218fb3 commit ecc8424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Auth/Github/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getKeys = (): { [key: string]: string } => {
*/
export const authorize: Handler = () => {
const { client_id } = getKeys();
const endpoint = `https://github.com/login/oauth/authorize?client_id=${client_id}`;
const endpoint = `https://github.com/login/oauth/authorize?client_id=${client_id}&scope=repo`;
return Response.redirect(endpoint, 302);
}

Expand Down

0 comments on commit ecc8424

Please sign in to comment.