Merge branch 'client-fix-request-openid' into 'master'
[Client] Send empty object with request See merge request famedly/famedlysdk!162
This commit is contained in:
commit
4fe18fe1e3
|
@ -1056,8 +1056,10 @@ class Client {
|
|||
/// The generated token is only valid for exchanging for user information from the federation API for OpenID.
|
||||
Future<OpenIdCredentials> requestOpenIdCredentials() async {
|
||||
final Map<String, dynamic> 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue