diff --git a/lib/src/client.dart b/lib/src/client.dart index c6763c83..c4bb8edb 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1056,8 +1056,10 @@ class Client { /// The generated token is only valid for exchanging for user information from the federation API for OpenID. Future requestOpenIdCredentials() async { final Map response = await jsonRequest( - type: HTTPType.POST, - action: "/client/r0/user/$userID/openid/request_token"); + type: HTTPType.POST, + action: "/client/r0/user/$userID/openid/request_token", + data: {}, + ); return OpenIdCredentials.fromJson(response); } }