X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fo_auth%2Fo_auth_view.ex;h=1419c96a2f905bbecffeb70702b5bc0bf711ed08;hb=50a644a2215a144e54a9f9d2a5216bec4e717405;hp=281bbcc3ce98a7626830d691bd8472c7d8647b87;hpb=3aa25b008d145bc7bfda907bca3b327753380728;p=akkoma diff --git a/lib/pleroma/web/o_auth/o_auth_view.ex b/lib/pleroma/web/o_auth/o_auth_view.ex index 281bbcc3c..1419c96a2 100644 --- a/lib/pleroma/web/o_auth/o_auth_view.ex +++ b/lib/pleroma/web/o_auth/o_auth_view.ex @@ -10,6 +10,7 @@ defmodule Pleroma.Web.OAuth.OAuthView do def render("token.json", %{token: token} = opts) do response = %{ + id: token.id, token_type: "Bearer", access_token: token.token, refresh_token: token.refresh_token,