[#923] OAuth consumer params handling refactoring.
authorIvan Tashkinov <ivant.business@gmail.com>
Wed, 10 Apr 2019 18:40:38 +0000 (21:40 +0300)
committerIvan Tashkinov <ivant.business@gmail.com>
Wed, 10 Apr 2019 18:40:38 +0000 (21:40 +0300)
commitc3f12cf3c3597385481290b53a6bce31730a6a29
tree5570e79408247356e9815c9ee9aa8949c6dd3a2f
parente5d553aa45ffa218b0695d7976f012bfc1dcbafe
[#923] OAuth consumer params handling refactoring.
Registration and authorization-related params are wrapped in "authorization" in order to reduce edge cases number and simplify handling logic.
lib/pleroma/web/auth/authenticator.ex
lib/pleroma/web/auth/ldap_authenticator.ex
lib/pleroma/web/auth/pleroma_authenticator.ex
lib/pleroma/web/oauth/fallback_controller.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex
lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex
lib/pleroma/web/templates/o_auth/o_auth/register.html.eex
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
test/web/oauth/oauth_controller_test.exs