What's Changed
1. Auth0 user authentication
Add support for Auth0 user authentication by @butschster in #122
This PR introduces the integration of the Auth0 authentication provider into our application. Users can now authenticate using Auth0, which provides a secure and reliable means of handling user authentication.
To enable authentication you need to set ENV variables
AUTH_ENABLED=true
AUTH_PROVIDER_URL=https://xxx.auth0.com
AUTH_CLIENT_ID=xxx
AUTH_CLIENT_SECRET=xxx
AUTH_CALLBACK_URL=http://local.server/auth/sso/callback
AUTH_SCOPES=openid,email,profile
2. External databases support
Added functionality to configure external databases for event storage by @butschster in #125
This PR introduces the ability to configure an external database for storing events. The configuration can be done via environment variables, allowing the use of different types of databases such as MongoDB, PostgreSQL, or MySQL.
By default, all events are stored in a local in-memory storage. However, with this update, users can now opt to use an external database by setting the PERSISTENCE_DRIVER
environment variable to database
or mongodb
and providing the necessary database connection details.
Database
PERSISTENCE_DRIVER=database
DB_DRIVER=pgsql # mysql, pgsql
DB_DATABASE=buggregator
DB_HOST=127.0.0.1
DB_PORT=5432
DB_USERNAME=homestead
DB_PASSWORD=secret
MongoDB
PERSISTENCE_DRIVER=mongodb
MONGODB_CONNECTION=mongodb://127.0.0.1:27017
MONGODB_DATABASE=buggregator
This enhancement provides more flexibility in terms of data persistence and storage options for events."
Full Changelog: 1.6.3...1.7.0