You've already forked AstralRinth
forked from didirus/AstralRinth
Merge pull request #64 from modrinth/auth-fix
Make scopes safe for browser
This commit is contained in:
@@ -113,7 +113,7 @@ pub async fn init(
|
|||||||
"https://github.com/login/oauth/authorize?client_id={}&state={}&scope={}",
|
"https://github.com/login/oauth/authorize?client_id={}&state={}&scope={}",
|
||||||
client_id,
|
client_id,
|
||||||
to_base62(state.0 as u64),
|
to_base62(state.0 as u64),
|
||||||
"%20repo%20read%3Aorg%20read%3Auser%20user%3Aemail"
|
"read%3Auser%20user%3Aemail"
|
||||||
);
|
);
|
||||||
|
|
||||||
Ok(HttpResponse::TemporaryRedirect()
|
Ok(HttpResponse::TemporaryRedirect()
|
||||||
|
|||||||
Reference in New Issue
Block a user