diff options
| author | Ivan Tashkinov <ivant.business@gmail.com> | 2019-03-15 17:08:03 +0300 |
|---|---|---|
| committer | Ivan Tashkinov <ivant.business@gmail.com> | 2019-03-15 17:08:03 +0300 |
| commit | aacbf0f57053786533df045125dee93ace0daa93 (patch) | |
| tree | ef0dd0b1af36079fa3a2b424aaf8f91807e0d3ca /config | |
| parent | 63ab61ed3f4988bfaf9080bcdc4fc8d5046fa57e (diff) | |
| download | pleroma-aacbf0f57053786533df045125dee93ace0daa93.tar.gz pleroma-aacbf0f57053786533df045125dee93ace0daa93.zip | |
[#923] OAuth: prototype of sign in / sign up with Twitter.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 8c754cef3..1ddc1bad1 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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, |
