diff --git a/tenants/acme/35-realm-import-cm.yaml b/tenants/acme/35-realm-import-cm.yaml index 42301d0..f0928ce 100644 --- a/tenants/acme/35-realm-import-cm.yaml +++ b/tenants/acme/35-realm-import-cm.yaml @@ -24,11 +24,11 @@ data: "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, - "redirectUris": ["https://acme.athleticmap.influxdigital.com.br/*"], - "webOrigins": ["https://acme.athleticmap.influxdigital.com.br"], + "redirectUris": ["https://acme.athleticmap.influxdigital.com.br/*", "https://acme.athleticmap.com/*"], + "webOrigins": ["https://acme.athleticmap.influxdigital.com.br", "https://acme.athleticmap.com"], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://acme.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://acme.athleticmap.influxdigital.com.br/*##https://acme.athleticmap.com/*" } } ] diff --git a/tenants/acme/realm/athleticmap-realm.json b/tenants/acme/realm/athleticmap-realm.json index be86514..9e48e2c 100644 --- a/tenants/acme/realm/athleticmap-realm.json +++ b/tenants/acme/realm/athleticmap-realm.json @@ -40,14 +40,16 @@ "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "redirectUris": [ - "https://acme.athleticmap.influxdigital.com.br/*" + "https://acme.athleticmap.influxdigital.com.br/*", + "https://acme.athleticmap.com/*" ], "webOrigins": [ - "https://acme.athleticmap.influxdigital.com.br" + "https://acme.athleticmap.influxdigital.com.br", + "https://acme.athleticmap.com" ], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://acme.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://acme.athleticmap.influxdigital.com.br/*##https://acme.athleticmap.com/*" } } ] diff --git a/tenants/demo/35-realm-import-cm.yaml b/tenants/demo/35-realm-import-cm.yaml index 3ed9413..34224dc 100644 --- a/tenants/demo/35-realm-import-cm.yaml +++ b/tenants/demo/35-realm-import-cm.yaml @@ -24,11 +24,11 @@ data: "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, - "redirectUris": ["https://demo.athleticmap.influxdigital.com.br/*"], - "webOrigins": ["https://demo.athleticmap.influxdigital.com.br"], + "redirectUris": ["https://demo.athleticmap.influxdigital.com.br/*", "https://demo.athleticmap.com/*"], + "webOrigins": ["https://demo.athleticmap.influxdigital.com.br", "https://demo.athleticmap.com"], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*##https://demo.athleticmap.com/*" } } ] diff --git a/tenants/demo/realm/athleticmap-realm.json b/tenants/demo/realm/athleticmap-realm.json index 1a675f2..c7cc756 100644 --- a/tenants/demo/realm/athleticmap-realm.json +++ b/tenants/demo/realm/athleticmap-realm.json @@ -40,14 +40,16 @@ "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "redirectUris": [ - "https://demo.athleticmap.influxdigital.com.br/*" + "https://demo.athleticmap.influxdigital.com.br/*", + "https://demo.athleticmap.com/*" ], "webOrigins": [ - "https://demo.athleticmap.influxdigital.com.br" + "https://demo.athleticmap.influxdigital.com.br", + "https://demo.athleticmap.com" ], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*##https://demo.athleticmap.com/*" } } ] diff --git a/tenants/escolinha/35-realm-import-cm.yaml b/tenants/escolinha/35-realm-import-cm.yaml index c5d84e5..a2bffbb 100644 --- a/tenants/escolinha/35-realm-import-cm.yaml +++ b/tenants/escolinha/35-realm-import-cm.yaml @@ -27,11 +27,11 @@ data: "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, - "redirectUris": ["https://escolinha.athleticmap.influxdigital.com.br/*"], - "webOrigins": ["https://escolinha.athleticmap.influxdigital.com.br"], + "redirectUris": ["https://escolinha.athleticmap.influxdigital.com.br/*", "https://escolinha.athleticmap.com/*"], + "webOrigins": ["https://escolinha.athleticmap.influxdigital.com.br", "https://escolinha.athleticmap.com"], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://escolinha.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://escolinha.athleticmap.influxdigital.com.br/*##https://escolinha.athleticmap.com/*" } } ] diff --git a/tenants/escolinha/realm/athleticmap-realm.json b/tenants/escolinha/realm/athleticmap-realm.json index 066c1b6..ac51667 100644 --- a/tenants/escolinha/realm/athleticmap-realm.json +++ b/tenants/escolinha/realm/athleticmap-realm.json @@ -40,14 +40,16 @@ "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "redirectUris": [ - "https://escolinha.athleticmap.influxdigital.com.br/*" + "https://escolinha.athleticmap.influxdigital.com.br/*", + "https://escolinha.athleticmap.com/*" ], "webOrigins": [ - "https://escolinha.athleticmap.influxdigital.com.br" + "https://escolinha.athleticmap.influxdigital.com.br", + "https://escolinha.athleticmap.com" ], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://escolinha.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://escolinha.athleticmap.influxdigital.com.br/*##https://escolinha.athleticmap.com/*" } } ] diff --git a/tenants/piloto/35-realm-import-cm.yaml b/tenants/piloto/35-realm-import-cm.yaml index 6268ebd..761e1fe 100644 --- a/tenants/piloto/35-realm-import-cm.yaml +++ b/tenants/piloto/35-realm-import-cm.yaml @@ -24,11 +24,11 @@ data: "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, - "redirectUris": ["https://piloto.athleticmap.influxdigital.com.br/*"], - "webOrigins": ["https://piloto.athleticmap.influxdigital.com.br"], + "redirectUris": ["https://piloto.athleticmap.influxdigital.com.br/*", "https://piloto.athleticmap.com/*"], + "webOrigins": ["https://piloto.athleticmap.influxdigital.com.br", "https://piloto.athleticmap.com"], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*##https://piloto.athleticmap.com/*" } } ] diff --git a/tenants/piloto/realm/athleticmap-realm.json b/tenants/piloto/realm/athleticmap-realm.json index 5166d8a..5813477 100644 --- a/tenants/piloto/realm/athleticmap-realm.json +++ b/tenants/piloto/realm/athleticmap-realm.json @@ -40,14 +40,16 @@ "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "redirectUris": [ - "https://piloto.athleticmap.influxdigital.com.br/*" + "https://piloto.athleticmap.influxdigital.com.br/*", + "https://piloto.athleticmap.com/*" ], "webOrigins": [ - "https://piloto.athleticmap.influxdigital.com.br" + "https://piloto.athleticmap.influxdigital.com.br", + "https://piloto.athleticmap.com" ], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*##https://piloto.athleticmap.com/*" } } ] diff --git a/tenants/plataforma/35-realm-import-cm.yaml b/tenants/plataforma/35-realm-import-cm.yaml index 966f21b..8c8ef1d 100644 --- a/tenants/plataforma/35-realm-import-cm.yaml +++ b/tenants/plataforma/35-realm-import-cm.yaml @@ -1,43 +1,43 @@ -apiVersion: v1 -data: - athleticmap-realm.json: | - { - "realm": "athleticmap", - "enabled": true, - "displayName": "Athletic Map", - "loginWithEmailAllowed": true, - "roles": { - "realm": [ - { "name": "admin" }, - { "name": "atm_athlete" }, - { "name": "atm_trainer" }, - { "name": "atm_team_admin" }, - { "name": "atm_fed_admin" }, - { "name": "atm_admin" }, - { "name": "atm_cadastro" }, - { "name": "atm_financeiro" }, - { "name": "atm_financeiro-leitura" } - ] - }, - "clients": [ - { - "clientId": "spa", - "name": "Athletic Map SPA", - "publicClient": true, - "protocol": "openid-connect", - "standardFlowEnabled": true, - "implicitFlowEnabled": false, - "directAccessGrantsEnabled": false, - "redirectUris": ["https://plataforma.athleticmap.influxdigital.com.br/*"], - "webOrigins": ["https://plataforma.athleticmap.influxdigital.com.br"], - "attributes": { - "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://plataforma.athleticmap.influxdigital.com.br/*" - } - } - ] - } -kind: ConfigMap -metadata: - name: kc-realm-import - namespace: plataforma-prod +apiVersion: v1 +data: + athleticmap-realm.json: | + { + "realm": "athleticmap", + "enabled": true, + "displayName": "Athletic Map", + "loginWithEmailAllowed": true, + "roles": { + "realm": [ + { "name": "admin" }, + { "name": "atm_athlete" }, + { "name": "atm_trainer" }, + { "name": "atm_team_admin" }, + { "name": "atm_fed_admin" }, + { "name": "atm_admin" }, + { "name": "atm_cadastro" }, + { "name": "atm_financeiro" }, + { "name": "atm_financeiro-leitura" } + ] + }, + "clients": [ + { + "clientId": "spa", + "name": "Athletic Map SPA", + "publicClient": true, + "protocol": "openid-connect", + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "redirectUris": ["https://plataforma.athleticmap.influxdigital.com.br/*", "https://plataforma.athleticmap.com/*"], + "webOrigins": ["https://plataforma.athleticmap.influxdigital.com.br", "https://plataforma.athleticmap.com"], + "attributes": { + "pkce.code.challenge.method": "S256", + "post.logout.redirect.uris": "https://plataforma.athleticmap.influxdigital.com.br/*##https://plataforma.athleticmap.com/*" + } + } + ] + } +kind: ConfigMap +metadata: + name: kc-realm-import + namespace: plataforma-prod diff --git a/tenants/plataforma/realm/athleticmap-realm.json b/tenants/plataforma/realm/athleticmap-realm.json index 2d9c887..24ff071 100644 --- a/tenants/plataforma/realm/athleticmap-realm.json +++ b/tenants/plataforma/realm/athleticmap-realm.json @@ -44,14 +44,16 @@ "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "redirectUris": [ - "https://plataforma.athleticmap.influxdigital.com.br/*" + "https://plataforma.athleticmap.influxdigital.com.br/*", + "https://plataforma.athleticmap.com/*" ], "webOrigins": [ - "https://plataforma.athleticmap.influxdigital.com.br" + "https://plataforma.athleticmap.influxdigital.com.br", + "https://plataforma.athleticmap.com" ], "attributes": { "pkce.code.challenge.method": "S256", - "post.logout.redirect.uris": "https://plataforma.athleticmap.influxdigital.com.br/*" + "post.logout.redirect.uris": "https://plataforma.athleticmap.influxdigital.com.br/*##https://plataforma.athleticmap.com/*" }, "protocolMappers": [ {