Files
athletic-map-deploy/moldes/realm-do-tenant.json
T
deploy d68cf37493 feat(plataforma): SMTP pela Hostinger, e o molde do realm no repositorio
O dominio athleticmap.com tem MX na Hostinger e SPF que so autoriza a
Hostinger. A credencial foi medida: aceita em smtp.hostinger.com:587,
recusada com 535 no Gmail e no Titan.

O molde do realm nunca tinha sido empurrado — PROVISIONAMENTO_REALM_TEMPLATE
estava vazio, e a etapa REALM_CRIADO teria parado nele logo depois do SMTP.
2026-09-24 20:38:05 +00:00

88 lines
2.0 KiB
JSON

{
"realm": "{{REALM}}",
"enabled": true,
"displayName": "Athletic Map — {{TENANT}}",
"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://{{TENANT}}.athleticmap.com/*"
],
"webOrigins": [
"https://{{TENANT}}.athleticmap.com"
],
"attributes": {
"pkce.code.challenge.method": "S256",
"post.logout.redirect.uris": "https://{{TENANT}}.athleticmap.com/*"
},
"protocolMappers": [
{
"name": "funcionario_id",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-attribute-mapper",
"consentRequired": false,
"config": {
"user.attribute": "funcionario_id",
"claim.name": "funcionario_id",
"jsonType.label": "String",
"id.token.claim": "true",
"access.token.claim": "true",
"userinfo.token.claim": "true"
}
}
]
}
],
"smtpServer": {
"host": "{{SMTP_HOST}}",
"port": "{{SMTP_PORTA}}",
"from": "{{SMTP_REMETENTE}}",
"fromDisplayName": "Athletic Map",
"replyTo": "{{SMTP_RESPONDER_PARA}}",
"replyToDisplayName": "Athletic Map",
"auth": "{{SMTP_AUTH}}",
"user": "{{SMTP_USUARIO}}",
"password": "{{SMTP_SENHA}}",
"starttls": "{{SMTP_STARTTLS}}",
"ssl": "false"
}
}