🚚(keycloak) rename Impress to Meet

I have updated all references of "Impress" to "Meet".

Few environment variables were updated, keycloak was including
the realm's name as a base URL for API endpoints.
This commit is contained in:
lebaudantoine
2024-07-01 14:57:02 +02:00
committed by antoine lebaud
parent e395f9a53e
commit 1a2768f8dc
6 changed files with 25 additions and 25 deletions

View File

@@ -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. 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: You will be prompted to log in, the default credentials are:
```bash ```bash
username: impress username: meet
password: impress password: meet
``` ```
--- ---

View File

@@ -143,7 +143,7 @@ services:
KC_DB_URL_HOST: kc_postgresql KC_DB_URL_HOST: kc_postgresql
KC_DB_URL_DATABASE: keycloak KC_DB_URL_DATABASE: keycloak
KC_DB_PASSWORD: pass KC_DB_PASSWORD: pass
KC_DB_USERNAME: impress KC_DB_USERNAME: meet
KC_DB_SCHEMA: public KC_DB_SCHEMA: public
PROXY_ADDRESS_FORWARDING: 'true' PROXY_ADDRESS_FORWARDING: 'true'
ports: ports:

View File

@@ -1,6 +1,6 @@
{ {
"id": "ccf4fd40-4286-474d-854a-4714282a8bec", "id": "ccf4fd40-4286-474d-854a-4714282a8bec",
"realm": "impress", "realm": "meet",
"notBefore": 0, "notBefore": 0,
"defaultSignatureAlgorithm": "RS256", "defaultSignatureAlgorithm": "RS256",
"revokeRefreshToken": false, "revokeRefreshToken": false,
@@ -45,15 +45,15 @@
"failureFactor": 30, "failureFactor": 30,
"users": [ "users": [
{ {
"username": "impress", "username": "meet",
"email": "impress@impress.world", "email": "meet@meet.world",
"firstName": "John", "firstName": "John",
"lastName": "Doe", "lastName": "Doe",
"enabled": true, "enabled": true,
"credentials": [ "credentials": [
{ {
"type": "password", "type": "password",
"value": "impress" "value": "meet"
} }
], ],
"realmRoles": ["user"] "realmRoles": ["user"]
@@ -114,7 +114,7 @@
}, },
{ {
"id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99", "id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99",
"name": "default-roles-impress", "name": "default-roles-meet",
"description": "${role_default-roles}", "description": "${role_default-roles}",
"composite": true, "composite": true,
"composites": { "composites": {
@@ -359,7 +359,7 @@
"attributes": {} "attributes": {}
} }
], ],
"impress": [], "meet": [],
"account": [ "account": [
{ {
"id": "63b1a4e1-a594-4571-99c3-7c5c3efd61ce", "id": "63b1a4e1-a594-4571-99c3-7c5c3efd61ce",
@@ -449,7 +449,7 @@
"groups": [], "groups": [],
"defaultRole": { "defaultRole": {
"id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99", "id": "1bfe401a-08fc-4d94-80e0-86c4f5195f99",
"name": "default-roles-impress", "name": "default-roles-meet",
"description": "${role_default-roles}", "description": "${role_default-roles}",
"composite": true, "composite": true,
"clientRole": false, "clientRole": false,
@@ -504,12 +504,12 @@
"clientId": "account", "clientId": "account",
"name": "${client_account}", "name": "${client_account}",
"rootUrl": "${authBaseUrl}", "rootUrl": "${authBaseUrl}",
"baseUrl": "/realms/impress/account/", "baseUrl": "/realms/meet/account/",
"surrogateAuthRequired": false, "surrogateAuthRequired": false,
"enabled": true, "enabled": true,
"alwaysDisplayInConsole": false, "alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret", "clientAuthenticatorType": "client-secret",
"redirectUris": ["/realms/impress/account/*"], "redirectUris": ["/realms/meet/account/*"],
"webOrigins": [], "webOrigins": [],
"notBefore": 0, "notBefore": 0,
"bearerOnly": false, "bearerOnly": false,
@@ -546,12 +546,12 @@
"clientId": "account-console", "clientId": "account-console",
"name": "${client_account-console}", "name": "${client_account-console}",
"rootUrl": "${authBaseUrl}", "rootUrl": "${authBaseUrl}",
"baseUrl": "/realms/impress/account/", "baseUrl": "/realms/meet/account/",
"surrogateAuthRequired": false, "surrogateAuthRequired": false,
"enabled": true, "enabled": true,
"alwaysDisplayInConsole": false, "alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret", "clientAuthenticatorType": "client-secret",
"redirectUris": ["/realms/impress/account/*"], "redirectUris": ["/realms/meet/account/*"],
"webOrigins": [], "webOrigins": [],
"notBefore": 0, "notBefore": 0,
"bearerOnly": false, "bearerOnly": false,
@@ -676,7 +676,7 @@
}, },
{ {
"id": "869481d0-5774-4e64-bc30-fedc7c58958f", "id": "869481d0-5774-4e64-bc30-fedc7c58958f",
"clientId": "impress", "clientId": "meet",
"name": "", "name": "",
"description": "", "description": "",
"rootUrl": "", "rootUrl": "",
@@ -791,12 +791,12 @@
"clientId": "security-admin-console", "clientId": "security-admin-console",
"name": "${client_security-admin-console}", "name": "${client_security-admin-console}",
"rootUrl": "${authAdminUrl}", "rootUrl": "${authAdminUrl}",
"baseUrl": "/admin/impress/console/", "baseUrl": "/admin/meet/console/",
"surrogateAuthRequired": false, "surrogateAuthRequired": false,
"enabled": true, "enabled": true,
"alwaysDisplayInConsole": false, "alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret", "clientAuthenticatorType": "client-secret",
"redirectUris": ["/admin/impress/console/*"], "redirectUris": ["/admin/meet/console/*"],
"webOrigins": ["+"], "webOrigins": ["+"],
"notBefore": 0, "notBefore": 0,
"bearerOnly": false, "bearerOnly": false,

View File

@@ -23,12 +23,12 @@ AWS_S3_ACCESS_KEY_ID=impress
AWS_S3_SECRET_ACCESS_KEY=password AWS_S3_SECRET_ACCESS_KEY=password
# OIDC # OIDC
OIDC_OP_JWKS_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/certs OIDC_OP_JWKS_ENDPOINT=http://nginx:8083/realms/meet/protocol/openid-connect/certs
OIDC_OP_AUTHORIZATION_ENDPOINT=http://localhost:8083/realms/impress/protocol/openid-connect/auth OIDC_OP_AUTHORIZATION_ENDPOINT=http://localhost:8083/realms/meet/protocol/openid-connect/auth
OIDC_OP_TOKEN_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/token OIDC_OP_TOKEN_ENDPOINT=http://nginx:8083/realms/meet/protocol/openid-connect/token
OIDC_OP_USER_ENDPOINT=http://nginx:8083/realms/impress/protocol/openid-connect/userinfo 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_CLIENT_SECRET=ThisIsAnExampleKeyForDevPurposeOnly
OIDC_RP_SIGN_ALGO=RS256 OIDC_RP_SIGN_ALGO=RS256
OIDC_RP_SCOPES="openid email" OIDC_RP_SCOPES="openid email"

View File

@@ -1,11 +1,11 @@
# Postgresql db container configuration # Postgresql db container configuration
POSTGRES_DB=keycloak POSTGRES_DB=keycloak
POSTGRES_USER=impress POSTGRES_USER=meet
POSTGRES_PASSWORD=pass POSTGRES_PASSWORD=pass
# App database configuration # App database configuration
DB_HOST=kc_postgresql DB_HOST=kc_postgresql
DB_NAME=keycloak DB_NAME=keycloak
DB_USER=impress DB_USER=meet
DB_PASSWORD=pass DB_PASSWORD=pass
DB_PORT=5433 DB_PORT=5433

View File

@@ -315,7 +315,7 @@ class Base(Configuration):
"RS256", environ_name="OIDC_RP_SIGN_ALGO", environ_prefix=None "RS256", environ_name="OIDC_RP_SIGN_ALGO", environ_prefix=None
) )
OIDC_RP_CLIENT_ID = values.Value( 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( OIDC_RP_CLIENT_SECRET = values.Value(
None, None,