wait is this actually working
This commit is contained in:
parent
754ff56119
commit
a27a53b2cf
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue