aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/o_auth/o_auth_view.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-28 13:38:44 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-28 13:38:44 -0500
commit05b47aacd25a86ba6dfcdd6577c6c558229c8e95 (patch)
treee4ecd6498fc64a78bf8d92c2ca6e8f8edc0fbcfe /lib/pleroma/web/o_auth/o_auth_view.ex
parent9b0b0842ce2b0b9a870f57e16025160855aa4c11 (diff)
parent7ad87571bdcd39959280d15f5bfe4175e04c442c (diff)
downloadpleroma-endpoint-url.tar.gz
Merge remote-tracking branch 'pleroma/develop' into endpoint-urlendpoint-url
Diffstat (limited to 'lib/pleroma/web/o_auth/o_auth_view.ex')
-rw-r--r--lib/pleroma/web/o_auth/o_auth_view.ex1
1 files changed, 1 insertions, 0 deletions
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,