2.1.3 • Published 2 years ago
@mashroom/mashroom-http-proxy-add-id-token v2.1.3
Mashroom Add ID Token Http Proxy Interceptor
Plugin for Mashroom Server, a Microfrontend Integration Platform.
If you add this plugin it will add the ID/JWT token from the OpenId Connect plugin to every backend call.
Usage
If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-csrf-protection as dependency.
You can override the default config in your Mashroom config file like this:
{
"plugins": {
"Mashroom Http Proxy Add ID Token Interceptor": {
"addBearer": false,
"idTokenHeader": "X-USER-ID-TOKEN",
"targetUris": [".*"]
}
}
}
- addBearer: Add the token as authorization bearer header (Default: false)
- idTokenHeader: The HTTP header for the ID token - has no effect if addBearer is true (Default: X-USER-ID-TOKEN)
- targetUris: A list of regular expressions that match URIs that should receive the headers (Default: .*)
2.1.2
2 years ago
2.1.1
2 years ago
2.1.3
2 years ago
2.1.0
2 years ago
2.0.3
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.2
2 years ago
2.0.0-alpha.4
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
2.0.0-alpha.3
2 years ago
1.9.4
2 years ago
2.0.0-alpha.0
2 years ago
2.0.0-alpha.1
2 years ago
1.9.3
2 years ago
2.0.0-alpha.2
2 years ago
1.9.2
2 years ago
1.9.1
3 years ago
1.9.0
3 years ago