Enable Access Manager
After installing the Access Manager plugin, you must enable it for it to function properly. This means updating the Auth variables in the.env
files of Midaz Ledger, Midaz Console, or any plugin where you want to use Access Manager.
Your configuration should look like this:
Where to update
You’ll find the relevant.env
files in these locations:
- Midaz Ledger and Midaz Console
/midaz/components/onboarding
/midaz/components/transaction
/midaz/components/console
- Other plugins
- The
.env
file should be in the root directory of the plugin.
- The
Can’t see the files? Try adjusting your system settings to show hidden files since
.env
files are often hidden by default.Rebuild after changes
After updating the environment, rebuild your Docker images to apply the changes:1
In your terminal, go to the root of your Midaz project.
2
If Docker is running, stop it:
3
Then rebuild everything: