This file uses the defaults set in the .env.example file.
- To use the keycloak system for authentication you need to create a keycloak realm named
inethi-services. - Create a client called
inethi-backend-client, ensure client authentication and authorization are checked. Set the
home url to your backend's URL, your redirect URLs to your backend URL with a wild card suffix and set web origins and valid post logout redirects to+ - Get your Keycloak client secret from the
credentialstab and set this in your.envfile. - Add a user to your realm with the username
inethiand passwordiNethi2023#. Ensure you give the user an email, first name, last name, tick the email verified box and add a password under thecredentialstab. - Assign this user the
realm-adminrole under theRole Mappingtab.