diff options
author | Ivan Tashkinov <ivan.tashkinov@gmail.com> | 2019-03-11 20:37:26 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivan.tashkinov@gmail.com> | 2019-03-11 20:37:26 +0300 |
commit | 63ab61ed3f4988bfaf9080bcdc4fc8d5046fa57e (patch) | |
tree | 6502bbc5269bc7c688f4fdfff98c64b18c438864 /config/config.exs | |
parent | 2c8deecdd2f75c6cdf1089e4266bedb8be55539c (diff) | |
download | pleroma-63ab61ed3f4988bfaf9080bcdc4fc8d5046fa57e.tar.gz pleroma-63ab61ed3f4988bfaf9080bcdc4fc8d5046fa57e.zip |
Sign in via Twitter (WIP).
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index cd4c8e562..8c754cef3 100644 --- a/config/config.exs +++ b/config/config.exs @@ -369,6 +369,17 @@ config :auto_linker, rel: false ] +config :ueberauth, + Ueberauth, + base_path: "/oauth", + providers: [ + twitter: {Ueberauth.Strategy.Twitter, []} + ] + +config :ueberauth, Ueberauth.Strategy.Twitter.OAuth, + consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), + consumer_secret: System.get_env("TWITTER_CONSUMER_SECRET") + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" |