We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0218fb3 commit ecc8424Copy full SHA for ecc8424
src/components/Auth/Github/github.ts
@@ -23,7 +23,7 @@ export const getKeys = (): { [key: string]: string } => {
23
*/
24
export const authorize: Handler = () => {
25
const { client_id } = getKeys();
26
- 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`;
27
return Response.redirect(endpoint, 302);
28
}
29
0 commit comments