wait is this actually working

This commit is contained in:
Henry Hiles 2025-06-22 14:06:06 -04:00
commit a27a53b2cf
No known key found for this signature in database

View file

@ -116,10 +116,13 @@ class ApiHelper {
"POST",
Uri.base,
body: utf8.encode('code=$code&client_id=proxy'),
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
),
);
if (tokenRes.statusCode != 200) {
return Response(400, body: "Token post failed");
}
final uri = Uri.parse(redirectUri).replace(
queryParameters: {
...Uri.parse(redirectUri).queryParameters,