- DB_SSL: boolean value, to enable TSL config, by default is false.
- DB_SSL_CACERTFILE: path of the certification authority cert file "/path/to/ca.crt", required when DB_SSL is true.
- DB_SSL_VERSION: available versions are tlsv1.2, tlsv1.3 by default is tlsv1.2.
- LDAP_CREATE_GROUP: Set to true to enable the creation of LDAP-based groups.
- LDAP_GROUP_FIELDS: Comma-separated list of fields used to search for groups to assign to a user.
- LDAP_ALLOWED_GROUPS: Comma-separated list of values used to create groups if they are found.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4001
from your browser.
Ready to run in production? Please check our deployment guides.
TdAuth is a back-end service developed as part of True Dat project to manage users and application authentication
- API Rest interface
- User management
- Session management
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
In order to use this software, it is necessary that, depending on the type of functionality that you want to obtain, it is assembled with other software whose license may be governed by other terms different than the GNU General Public License version 3 or later. In that case, it will be absolutely necessary that, in order to make a correct use of the software to be assembled, you give compliance with the rules of the concrete license (of Free Software or Open Source Software) of use in each case, as well as, where appropriate, obtaining of the permits that are necessary for these appropriate purposes.
- Web framework by Phoenix Community
- Distributed PubSub and Presence platform for the Phoenix Framework by Phoenix Community
- Phoenix and Ecto integration by Phoenix Community
- PostgreSQL driver for Elixir by elixir-ecto Community
- HTTP server for Erlang/OTP by Nine Nines
- Static code analysis tool for the Elixir language by René Föhring
- Authentication library by ueberauth
- Password hashing library by David Whitlock
- Bcrypt password hashing algorithm for Elixir by David Whitlock
- Create test data for Elixir applications by thoughtbot, inc
- Elixir Plug to add CORS by Michael Schaefermeyer
- HTTP client for Elixir by Eduardo Gurgel Pinho
- Story BDD tool by Matt Widmann