Authentication is a critical part of your self-hosted Stormkit instance. During the initial setup, you will create an admin account that has full access to the admin interface and can configure instance-wide options.
The admin account can:
However, to import private repositories, you must configure at least one of the following authentication methods:
To enable authentication with one of these providers, you need to create an oAuth application and provide the required environment variables. Follow these steps:
Visit the developer portal of your chosen provider and create an oAuth application:
Once the oAuth application is created, you will receive credentials such as Client ID
and Client Secret
. Add these credentials to your environment variables. Refer to the docker-compose.yaml file for a complete list of required variables and their descriptions.
For the environment variables to take effect, make sure to restart Stormkit. For an environment using docker compose, the command to restart the services is:
docker compose down workerserver hosting && docker compose up workerserver hosting -d