[#923] OAuth: prototype of sign in / sign up with Twitter.
This commit is contained in:
parent
63ab61ed3f
commit
aacbf0f570
10 changed files with 209 additions and 37 deletions
|
|
@ -369,11 +369,15 @@ config :auto_linker,
|
|||
rel: false
|
||||
]
|
||||
|
||||
config :pleroma, :auth, oauth_consumer_enabled: false
|
||||
|
||||
config :ueberauth,
|
||||
Ueberauth,
|
||||
base_path: "/oauth",
|
||||
providers: [
|
||||
twitter: {Ueberauth.Strategy.Twitter, []}
|
||||
twitter:
|
||||
{Ueberauth.Strategy.Twitter,
|
||||
[callback_params: ~w[client_id redirect_uri scope scopes]]}
|
||||
]
|
||||
|
||||
config :ueberauth, Ueberauth.Strategy.Twitter.OAuth,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue