Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions workshop/teams-management/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ curl -f http://localhost:8080/health || echo "Teams API not accessible"
### Step 1: Install Dependencies

```bash
# In coder install the deps
sudo apt install -y python3.12-venv python3-pip

# Install required Python packages
pip install -r requirements.txt

Expand Down
10 changes: 10 additions & 0 deletions workshop/teams-management/keycloak/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# keykloak

We deploy keycloak as our SSO provider

- first adapt your `<workspace-name>` in `keycloak.yaml`
- then run
```bash
kubectl apply -f keycloak.yaml
kubectl -n keycloak rollout status deployment keycloak
```
8 changes: 5 additions & 3 deletions workshop/teams-management/keycloak/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,19 @@
# "redirectUris": [
# "http://platform-auth.127.0.0.1.sslip.io/*",
# "http://engineering-platform.local/*",
# "http://localhost:4200/*"
# "http://localhost:4200/*",
# "http://<workspace-name>.coder/*"
# ],
# "webOrigins": [
# "http://platform-auth.127.0.0.1.sslip.io",
# "http://engineering-platform.local",
# "http://localhost:4200"
# "http://localhost:4200",
# "http://<workspace-name>.coder:<port>"
# ],
# "publicClient": true,
# "protocol": "openid-connect",
# "attributes": {
# "post.logout.redirect.uris": "http://platform-auth.127.0.0.1.sslip.io/*##http://localhost:4200/*"
# "post.logout.redirect.uris": "http://platform-auth.127.0.0.1.sslip.io/*##http://localhost:4200/*##http://<workspace-name>.coder:*"
# }
# }
# ],
Expand Down
4 changes: 4 additions & 0 deletions workshop/teams-management/teams-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ A modern Angular web application for managing engineering teams, designed to int
git clone <repository-url>
cd teams-app

# In coder install node first
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs

# Install dependencies
npm install
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
export const environment = {
production: false,
apiUrl: "http://teams-api.127.0.0.1.sslip.io", // Use proxy path instead of direct URL
// Use proxy path instead of direct URL or in coder use "http://<workspace-name>.coder:<port>" with the port of forward of the api service
apiUrl: "http://teams-api.127.0.0.1.sslip.io",
keycloak: {
// same as above, but with keycloak forward port
url: "http://platform-auth.127.0.0.1.sslip.io",
realm: "teams",
clientId: "teams-ui",
Expand Down