eyJhbaj8es9fj9aesI6IkpXVCJ9.eyJsjioOHGEFOJeo0JSe98fJEJSEJFImVtYWlsIjoibmlrLnBvbHRvcmF0c2t5QGdtYWlsLmNvbSJ9.2n9q1LmjnBn62KyAM3FlYZ8PzQcxmIK0_mptNv38ufM
./setup.sh
:docker-compose up -d
to start the containers3030
and 3040
or UI_BAKERY_PORT
and UI_BAKERY_WORKBENCH_PORT
(if they were modified in .env
file or entered in ./setup.sh
) to access UI Bakery instance, then you can create a new account.docker-compose -f ./docker-compose-external-db.yml up
to start the containers, alternatively, docker-compose -f ./docker-compose-external-db.yml up -d
to run containers in the background.workbench
(part of UI Bakery, where user apps can be securely rendered). In your DNS
provider, configure the following records:A
or CNAME
record with UI Bakery instance hostCNAME
record for the workbench
subdomain with the same host.http://localhost:3030 or UI_BAKERY_APP_SERVER_NAME
for authorized javascript origin.http://localhost:3030/auth/oauth2/callback
or UI_BAKERY_APP_SERVER_NAME/auth/oauth2/callback
for authorized redirect URLs. UI_BAKERY_GOOGLE_CLIENT_ID=Your Client ID
environment variable. UI_BAKERY_APP_SERVER_NAME=http(s)://youdomain.com
environment variable in case you want to run UI Bakery on a custom domain/IP.docker-compose up
if you want to use the embedded database.docker-compose -f ./docker-compose-external-db.yml up
with environment variables described in Running a standalone database instance above in case you want to use an external database.https://APP_LOCATION/api/auth/login/saml
. Replace APP_LOCATION
with UI Bakery instance URL. Configure name and role attributes. You can set claim name in identity provider settings or in UI Bakery env variables UI_BAKERY_SAML_NAME_CLAIM
and UI_BAKERY_SAML_ROLE_CLAIM
UI_BAKERY_SAML_ENABLED=true
4. You can add a role mapping from identity provider role to UI Bakery role via env variable:UI_BAKERY_SAML_LOGIN_AUTO
to true
to enable automatical login. Any unauthorized user will be redirected to SAML login flow.UI_BAKERY_GOOGLE_AUTH_ONLY=true
UI_BAKERY_AUTH_RESTRICTED_DOMAIN=domain.com
environment variable to restrict Google login only to the specified domain.