feat(P0.9): fase realm - o realm passa a aceitar os dois dominios
This commit is contained in:
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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/*"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user