[#923] Nickname & email selection for external registrations, option to connect to existing account.

This commit is contained in:
Ivan Tashkinov 2019-03-20 10:35:31 +03:00
commit e17a9a1f66
8 changed files with 309 additions and 127 deletions

View file

@ -208,12 +208,14 @@ defmodule Pleroma.Web.Router do
post("/authorize", OAuthController, :create_authorization)
post("/token", OAuthController, :token_exchange)
post("/revoke", OAuthController, :token_revoke)
get("/registration_details", OAuthController, :registration_details)
scope [] do
pipe_through(:browser)
get("/:provider", OAuthController, :request)
get("/:provider/callback", OAuthController, :callback)
post("/register", OAuthController, :register)
end
end