Sign in via Twitter (WIP).
This commit is contained in:
parent
2c8deecdd2
commit
63ab61ed3f
9 changed files with 63 additions and 10 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue