Skip to content

Commit ecc8424

Browse files
committed
Fix github OAuth permissions
1 parent 0218fb3 commit ecc8424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Auth/Github/github.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const getKeys = (): { [key: string]: string } => {
2323
*/
2424
export const authorize: Handler = () => {
2525
const { client_id } = getKeys();
26-
const endpoint = `https://github.com/login/oauth/authorize?client_id=${client_id}`;
26+
const endpoint = `https://github.com/login/oauth/authorize?client_id=${client_id}&scope=repo`;
2727
return Response.redirect(endpoint, 302);
2828
}
2929

0 commit comments

Comments
 (0)