mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
a939dde9b9
This is missing a bunch of features that you probably want to use (eg confirmation, password resets), but it's a pretty good place to put a stake in the sand and say it works.
30 lines
849 B
Elixir
30 lines
849 B
Elixir
import Config
|
|
|
|
config :git_ops,
|
|
mix_project: Mix.Project.get!(),
|
|
changelog_file: "CHANGELOG.md",
|
|
repository_url: "https://github.com/team-alembic/ash_authentication",
|
|
manage_mix_version?: true,
|
|
manage_readme_version: "README.md",
|
|
version_tag_prefix: "v"
|
|
|
|
config :ash_authentication, DevServer, start?: true, port: 4000
|
|
|
|
config :ash_authentication, ecto_repos: [Example.Repo], ash_apis: [Example]
|
|
|
|
config :ash_authentication, Example.Repo,
|
|
username: "postgres",
|
|
password: "postgres",
|
|
hostname: "localhost",
|
|
database: "ash_authentication_dev",
|
|
stacktrace: true,
|
|
show_sensitive_data_on_connection_error: true,
|
|
pool_size: 10
|
|
|
|
config :ash_authentication, Example,
|
|
resources: [
|
|
registry: Example.Registry
|
|
]
|
|
|
|
config :ash_authentication, AshAuthentication.Jwt,
|
|
signing_secret: "Marty McFly in the past with the Delorean"
|