Skip to content

Commit

Permalink
Merge pull request #228 from osu-tournament-rating/feature/friend-scope
Browse files Browse the repository at this point in the history
Add friends.read scope to osu! authorization
  • Loading branch information
AkinariHex authored Nov 11, 2024
2 parents 7a46b47 + e190233 commit cc458a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export async function revalidateUserData() {

export async function loginIntoWebsite() {
return redirect(
`https://osu.ppy.sh/oauth/authorize?client_id=${process.env.REACT_APP_OSU_CLIENT_ID}&redirect_uri=${process.env.REACT_APP_OSU_CALLBACK_URL}&response_type=code&scope=public`
`https://osu.ppy.sh/oauth/authorize?client_id=${process.env.REACT_APP_OSU_CLIENT_ID}&redirect_uri=${process.env.REACT_APP_OSU_CALLBACK_URL}&response_type=code&scope=public+friends.read`
);
}

Expand Down

0 comments on commit cc458a4

Please sign in to comment.