Web HR Runtime Env Test
Use this page to verify runtime environment resolution is working for server and client.
Server Runtime Checks
Values below are resolved server-side through the HR runtime config.
{
"nodeEnv": "production",
"appEnv": "production",
"appPortal": "webHr",
"stage": null,
"secretStatus": {
"authSecret": true
}
}Server Public Config
{
"apiUrl": "https://api.erp-dev.raha.af/api",
"appBaseUrl": "https://hr.erp-dev.raha.af",
"portals": {
"webOrgSetup": "https://erp-dev.raha.af",
"webAuth": "https://auth.erp-dev.raha.af",
"webHr": "https://hr.erp-dev.raha.af",
"webCrm": "https://crm.erp-dev.raha.af",
"webAdmin": "https://admin.erp-dev.raha.af"
},
"oidc": {
"configurationUrl": "https://api.account.rahaertebat.af/.well-known/openid-configuration",
"authorizationUrl": "https://account.rahaertebat.af/oauth2/authorize",
"issuer": "https://account.rahaertebat.af"
}
}Client Runtime Config
This is read via useRuntimeConfig() from React context.
{
"apiUrl": "https://api.erp-dev.raha.af/api",
"appBaseUrl": "https://hr.erp-dev.raha.af",
"portals": {
"webOrgSetup": "https://erp-dev.raha.af",
"webAuth": "https://auth.erp-dev.raha.af",
"webHr": "https://hr.erp-dev.raha.af",
"webCrm": "https://crm.erp-dev.raha.af",
"webAdmin": "https://admin.erp-dev.raha.af"
},
"oidc": {
"configurationUrl": "https://api.account.rahaertebat.af/.well-known/openid-configuration",
"authorizationUrl": "https://account.rahaertebat.af/oauth2/authorize",
"issuer": "https://account.rahaertebat.af"
}
}