mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-20 05:23:55 +12:00
432f056905
* feat(PasswordReset): Add a generic password reset form * improvement(Input.submit): trim trailing "with password" from submit buttons.
39 lines
1.3 KiB
Elixir
39 lines
1.3 KiB
Elixir
import Config
|
|
|
|
config :git_ops,
|
|
mix_project: Mix.Project.get!(),
|
|
changelog_file: "CHANGELOG.md",
|
|
repository_url: "https://github.com/team-alembic/ash_authentication_phoenix",
|
|
manage_mix_version?: true,
|
|
manage_readme_version: "README.md",
|
|
version_tag_prefix: "v"
|
|
|
|
config :ash_authentication_phoenix, DevWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
render_errors: [view: DevWeb.ErrorView, accepts: ~w(html json), layout: false],
|
|
pubsub_server: Dev.PubSub,
|
|
live_view: [signing_salt: "mwTS8kFY"],
|
|
http: [ip: {127, 0, 0, 1}, port: 4000],
|
|
check_origin: false,
|
|
debug_errors: true,
|
|
secret_key_base: "5PmCh9zQTJuCjlXm2EeF+hoYLkFxgH/3bzLE8D0Tzg5XLw6ZIMGipHFbr0z19dlC",
|
|
server: true
|
|
|
|
config :ash_authentication_phoenix, ash_apis: [Example.Accounts], namespace: Dev
|
|
|
|
config :ash_authentication_phoenix,
|
|
signing_secret: "All I wanna do is to thank you, even though I don't know who you are."
|
|
|
|
config :phoenix, :json_library, Jason
|
|
|
|
config :ash_authentication_phoenix, Example.Accounts.User,
|
|
authentication: [
|
|
strategies: [
|
|
auth0: [
|
|
client_id: System.get_env("OAUTH2_CLIENT_ID"),
|
|
client_secret: System.get_env("OAUTH2_CLIENT_SECRET"),
|
|
redirect_uri: "http://localhost:4000/auth",
|
|
site: System.get_env("OAUTH2_SITE")
|
|
]
|
|
]
|
|
]
|