aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/o_auth
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-19 13:39:29 -0500
committerAlex Gleason <alex@alexgleason.me>2021-05-19 13:39:29 -0500
commite343b46ea041ce6a542b23100df2e9c11e262c75 (patch)
tree7bd219409244d97e51ad58f800889c65f41837a0 /lib/pleroma/web/o_auth
parenta5bbebda588a54cb76d1a75239523db676980eb0 (diff)
parent8e9f032f25251d910b59c55226d10a305bad3cba (diff)
downloadpleroma-instance-view-recompilation.tar.gz
Merge remote-tracking branch 'pleroma/develop' into instance-view-recompilationinstance-view-recompilation
Diffstat (limited to 'lib/pleroma/web/o_auth')
-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,