The code in this repo is intended to allow for quick-to-try usage. This includes a hard-coded app registration details in the app and service. While this works for minimal setup for development and usage in localhost environments, you will need to create your own Azure app registration and update the app and service files with the new app registration details if you want to use this in a hosted environment.
DISCLAIMER: The security considerations of hosting a service with a public endpoint are beyond the scope of this document. Please ensure you understand the implications of hosting a service before doing so. It is not recommended to host a publicly available instance of the Semantic Workbench app.
In order to complete these steps, you will need to have an Azure account. If you don't have an Azure account, you can create a free account by navigating to https://azure.microsoft.com/en-us/free.
App registration is a free service, but you may need to provide a credit card for verification purposes.
- Navigate to the Azure portal > App registrations
-
Click on
New registration
and fill in the details -
Name:
Semantic Workbench
(or any name you prefer) -
Supported account types:
Accounts in any organizational directory and personal Microsoft accounts
-
Redirect URI:
Single-page application (SPA)
&https://<YOUR_HOST>
- Example (if using Codespaces):
https://<YOUR_CODESPACE_HOST>-4000.app.github.dev
- If you don't have a website deployed yet, enter
https://localhost:5001
, you can configure this later. - Note: the same Entra App can be reused for multiple websites, and multiple URLs can be added.
- Example (if using Codespaces):
-
Click on
Register
-
- View the
Overview
page for the newly registered app and copy theApplication (client) ID
for the next steps. - You can return to the list of your Entra apps from here.
Edit the following files with the new app registration details:
-
Semantic Workbench app: .env.example
- Copy the
.env.example
file to.env
- Update the
VITE_SEMANTIC_WORKBENCH_CLIENT_ID
with theApplication (client) ID
- Copy the
-
Semantic Workbench service: .env.example
- Copy the
.env.example
file to.env
- Update the
WORKBENCH__AUTH__ALLOWED_APP_ID
with theApplication (client) ID
- Copy the