Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🚚(keycloak) rename Impress to Meet

lebaudantoine1a2768f8dc39
diff --git a/README.md b/README.md
index 09fe4949..a8f82f5d 100644
--- a/README.md
+++ b/README.md
@@ -34,8 +34,8 @@ $ make bootstrap FLUSH_ARGS='--no-input'
Then you can access to the project in development mode by going to http://localhost:3000.
You will be prompted to log in, the default credentials are:
```bash
-username: impress
-password: impress
+username: meet
+password: meet
```
---
diff --git a/docker-compose.yml b/docker-compose.yml
index 6499ee3b..9e521e1f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -143,7 +143,7 @@ services:
KC_DB_URL_HOST: kc_postgresql
KC_DB_URL_DATABASE: keycloak
KC_DB_PASSWORD: pass
- KC_DB_USERNAME: impress
+ KC_DB_USERNAME: meet
KC_DB_SCHEMA: public
PROXY_ADDRESS_FORWARDING: 'true'
ports:
diff --git a/docker/auth/realm.json b/docker/auth/realm.json
index c8b72d6c..6bff8773 100644
--- a/docker/auth/realm.json
+++ b/docker/auth/realm.json
@@ -1,6 +1,6 @@
{
"id": "ccf4fd40-4286-474d-854a-4714282a8bec",
- "realm": "impress",
+ "realm": "meet",
"notBefore": 0,
"defaultSignatureAlgorithm": "RS256",
"revokeRefreshToken": false,
@@ -45,15 +45,15 @@
"failureFactor": 30,
"users": [
{
- "username": "impress",
- "email": "[email protected]",
+ "username": "meet",
+ "email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"enabled": true,
"credentials": [
{
"type": "password",
- "value": "impress"
+ "value": "meet"
}
],
"realmRoles": ["user"]
@@ -114,7 +114,7 @@
},
{
"id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99",
- "name": "default-roles-impress",
+ "name": "default-roles-meet",
"description": "${role_default-roles}",
"composite": true,
"composites": {
@@ -359,7 +359,7 @@
"attributes": {}
}
],
- "impress": [],
+ "meet": [],
"account": [
{
"id": "63b1a4e1-a594-4571-99c3-7c5c3efd61ce",
@@ -449,7 +449,7 @@
"groups": [],
"defaultRole": {
"id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99",
- "name": "default-roles-impress",
+ "name": "default-roles-meet",
"description": "${role_default-roles}",
"composite": true,
"clientRole": false,
@@ -504,12 +504,12 @@
"clientId": "account",
"name": "${client_account}",
"rootUrl": "${authBaseUrl}",
- "baseUrl": "/realms/impress/account/",
+ "baseUrl": "/realms/meet/account/",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
- "redirectUris": ["/realms/impress/account/*"],
+ "redirectUris": ["/realms/meet/account/*"],
"webOrigins": [],
"notBefore": 0,
"bearerOnly": false,
@@ -546,12 +546,12 @@
"clientId": "account-console",
"name": "${client_account-console}",
"rootUrl": "${authBaseUrl}",
- "baseUrl": "/realms/impress/account/",
+ "baseUrl": "/realms/meet/account/",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
- "redirectUris": ["/realms/impress/account/*"],
+ "redirectUris": ["/realms/meet/account/*"],
"webOrigins": [],
"notBefore": 0,
"bearerOnly": false,
@@ -676,7 +676,7 @@
},
{
"id": "869481d0-5774-4e64-bc30-fedc7c58958f",
- "clientId": "impress",
+ "clientId": "meet",
"name": "",
"description": "",
"rootUrl": "",
@@ -791,12 +791,12 @@
"clientId": "security-admin-console",
"name": "${client_security-admin-console}",
"rootUrl": "${authAdminUrl}",
- "baseUrl": "/admin/impress/console/",
+ "baseUrl": "/admin/meet/console/",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
- "redirectUris": ["/admin/impress/console/*"],
+ "redirectUris": ["/admin/meet/console/*"],
"webOrigins": ["+"],
"notBefore": 0,
"bearerOnly": false,
diff --git a/env.d/development/common.dist b/env.d/development/common.dist
index 5dc036fe..2856aff6 100644
--- a/env.d/development/common.dist
+++ b/env.d/development/common.dist
@@ -23,12 +23,12 @@ AWS_S3_ACCESS_KEY_ID=impress
AWS_S3_SECRET_ACCESS_KEY=password
# OIDC
-OIDC_OP_JWKS_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/certs
-OIDC_OP_AUTHORIZATION_ENDPOINT=http://localhost:8083/realms/impress/protocol/openid-connect/auth
-OIDC_OP_TOKEN_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/token
-OIDC_OP_USER_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/userinfo
+OIDC_OP_JWKS_ENDPOINT=http://nginx:8083/realms/meet/protocol/openid-connect/certs
+OIDC_OP_AUTHORIZATION_ENDPOINT=http://localhost:8083/realms/meet/protocol/openid-connect/auth
+OIDC_OP_TOKEN_ENDPOINT=http://nginx:8083/realms/meet/protocol/openid-connect/token
+OIDC_OP_USER_ENDPOINT=http://nginx:8083/realms/meet/protocol/openid-connect/userinfo
-OIDC_RP_CLIENT_ID=impress
+OIDC_RP_CLIENT_ID=meet
OIDC_RP_CLIENT_SECRET=ThisIsAnExampleKeyForDevPurposeOnly
OIDC_RP_SIGN_ALGO=RS256
OIDC_RP_SCOPES="openid email"
diff --git a/env.d/development/kc_postgresql.dist b/env.d/development/kc_postgresql.dist
index 505ae80d..23dcc3ea 100644
--- a/env.d/development/kc_postgresql.dist
+++ b/env.d/development/kc_postgresql.dist
@@ -1,11 +1,11 @@
# Postgresql db container configuration
POSTGRES_DB=keycloak
-POSTGRES_USER=impress
+POSTGRES_USER=meet
POSTGRES_PASSWORD=pass
# App database configuration
DB_HOST=kc_postgresql
DB_NAME=keycloak
-DB_USER=impress
+DB_USER=meet
DB_PASSWORD=pass
DB_PORT=5433
\ No newline at end of file
diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py
index 987be69b..9fb70b2d 100755
--- a/src/backend/impress/settings.py
+++ b/src/backend/impress/settings.py
@@ -315,7 +315,7 @@ class Base(Configuration):
"RS256", environ_name="OIDC_RP_SIGN_ALGO", environ_prefix=None
)
OIDC_RP_CLIENT_ID = values.Value(
- "impress", environ_name="OIDC_RP_CLIENT_ID", environ_prefix=None
+ "meet", environ_name="OIDC_RP_CLIENT_ID", environ_prefix=None
)
OIDC_RP_CLIENT_SECRET = values.Value(
None,