@mashroom/mashroom-utils
Advanced tools
Changelog
1.4.4 (May 4, 2020)
Changelog
1.4.3 (May 2, 2020)
Changelog
1.4.2 (April 25, 2020)
Changelog
1.4.1 (April 20, 2020)
Added a virtual host path mapper plugin: Allows it to map internal paths based on virtual hosts and web apps to get the actual "frontend path" to generate absolute links at the same time. Can be used to expose Portal Sites to virtual hosts like so:
https://www.my-company.com/new-portal -> http://internal-portal-host/portal/web
For this example configure your reverse proxy to forward calls from https://www.my-company.com/public to http://internal-portal-host/ and additionally configure the new plugin like this:
"Mashroom VHost Path Mapper Middleware": {
"hosts": {
"www.my-company.com": {
"frontendBasePath": "/new-portal",
"mapping": {
"/login": "/login",
"/": "/portal/web"
}
}
}
}
Changelog
1.4.0 (April 6, 2020)
{
"/portal/public-site/**": {
"*": {
"allow": "any"
}
}
"/portal/**": {
"*": {
"allow": {
"roles": ["Authenticated"]
}
}
}
}
{
"/portal/**": {
"*": {
"allow": {
"roles": ["Authenticated"],
"ips": ["10.1.2.*", "168.**"]
},
"deny": {
"ips": ["1.2.3.4"]
}
}
}
}
"Mashroom Security Services": {
"provider": "Mashroom Security Simple Provider",
"forwardQueryHintsToProvider": ["kc_idp_hint"]
}
Changelog
1.3.2 (February 22, 2020)
Changelog
1.3.1 (February 8, 2020)
Changelog
1.3.0 (January 27, 2020)
{
"name": "${env.USER}'s Mashroom Server",
"port": 5050
}
// index.ts
import {MashroomPortalAppPluginBootstrapFunction} from '@mashroom/mashroom-portal/type-definitions';
const bootstrap: MashroomPortalAppPluginBootstrapFunction = (hostElement, portalAppSetup, portalClientServices) => {
// ...
}
Changelog
1.2.3 (January 11, 2020)