You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **_NOTE:_** For this step, you should already have a running simulator. If not, you can use the simulator we provided as an example. For this, please follow the tutorial provided in InteractiveAI/usecases_examples/PowerGrid/ then set the VITE_POWERGRID_SIMU variable to http://YOUR_SERVER_ADDRESS:5100/
85
85
>
86
86
>
87
-
2. Run InteractiveAI assistant
87
+
2.**Run InteractiveAI assistant**
88
88
```sh
89
89
cd config/dev/cab-standalone
90
90
./docker-compose.sh
91
91
```
92
92
> **_NOTE:_** You will see the word cab (Cockpit Assistant Bidirectionnel) on most files in the project. Note that it was the initial project name of InteractiveAI. Might be updated later.
93
93
94
-
3. Setting up Keycloak `Frontend URL`
95
-
***Access Keycloak Interface**:
94
+
3.**Setting up Keycloak `Frontend URL`**
95
+
* Access Keycloak Interface:
96
96
- Ensure that your Keycloak instance is running and accessible.
97
97
- Open a web browser and navigate to the Keycloak admin console, typically available at `http://localhost:89/auth/admin`.
98
-
***Login to Keycloak Admin Console**:
98
+
* Login to Keycloak Admin Console:
99
99
- Log in to the Keycloak admin console using your administrator credentials (`admin:admin` by default)
100
-
***Navigate to Client Settings**:
100
+
* Configure frontendUrl:
101
+
- On the Keycloak admin console, locate and click on the "Realm Settings" section.
102
+
- In the Frontend URL setting, add the URL of your Assistant Platform frontend as a valid redirect URI. This URL is typically where your frontend application is hosted. For example, if your frontend is hosted locally for development purposes, you might add `http://localhost:3200/*`.
103
+
- After adding the frontend URL, save the changes to update the client settings.
104
+
* Configure Valid Redirect URIs:
101
105
- On the Keycloak admin console, locate and click on the "Clients" section.
102
106
- Select the client representing your Assistant Platform application.
103
-
***Configure FrontendUrl**:
104
107
- Within the client settings, look for the "Valid Redirect URIs" or similar configuration field.
105
-
- Add the URL of your Assistant Platform frontend as a valid redirect URI. This URL is typically where your frontend application is hosted. For example, if your frontend is hosted locally for development purposes, you might add `http://localhost:3200/*`.
106
-
- Ensure that the frontend URL you specify matches the actual URL where your frontend application is accessible.
107
-
***Save Changes**:
108
-
- After adding the frontend URL, save the changes to update the client settings.
108
+
- Add the URL of your Assistant Platform frontend, it should match the one used in the frontendUrl setting.
109
+
- After adding the Valid Redirect URIs, save the changes to update the client settings.
110
+
111
+
112
+
4.**Load resources**
109
113
110
-
4. Load resources
111
-
**WARINING:** You need to restart the frontend after updating the URL on keycloak do it before loading the resources.
114
+
**WARNING:** You need to restart the frontend after updating the URL on keycloak do it before loading the resources.
0 commit comments