aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/oauth
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-05-02 16:22:21 +0000
committerrinpatch <rinpatch@sdf.org>2020-05-02 16:22:21 +0000
commit019a192e43c2421c74e5126e753aac095db8ad54 (patch)
tree3415b92ed0cb9e59f39946a1439fd918c6ea07ee /lib/pleroma/web/oauth
parent3b15a0eecc62f79465620a697f12b576ed87b0fc (diff)
parent04f23294d327f044a72ecd3f269846c2f6198cf1 (diff)
downloadpleroma-2.0.3.tar.gz
Merge branch 'release/2.0.3' into 'stable'v2.0.3
Release/2.0.3 See merge request pleroma/secteam/pleroma!3
Diffstat (limited to 'lib/pleroma/web/oauth')
-rw-r--r--lib/pleroma/web/oauth/oauth_controller.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/oauth/oauth_controller.ex b/lib/pleroma/web/oauth/oauth_controller.ex
index 46688db7e..0121cd661 100644
--- a/lib/pleroma/web/oauth/oauth_controller.ex
+++ b/lib/pleroma/web/oauth/oauth_controller.ex
@@ -27,6 +27,8 @@ defmodule Pleroma.Web.OAuth.OAuthController do
plug(:fetch_flash)
plug(RateLimiter, [name: :authentication] when action == :create_authorization)
+ plug(:skip_plug, Pleroma.Plugs.OAuthScopesPlug)
+
action_fallback(Pleroma.Web.OAuth.FallbackController)
@oob_token_redirect_uri "urn:ietf:wg:oauth:2.0:oob"