2.6.1 • Published 1 day ago
@mashroom/mashroom-http-proxy-add-access-token v2.6.1
Mashroom Add Access Token Http Proxy Interceptor
Plugin for Mashroom Server, a Microfrontend Integration Platform.
If you add this plugin it will add the access 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 Access Token Interceptor": {
"addBearer": false,
"accessTokenHeader": "X-USER-ACCESS-TOKEN",
"targetUris": [".*"]
}
}
}
- addBearer: Add the token as authorization bearer header (Default: true)
- accessTokenHeader: The HTTP header for the access token - has no effect if addBearer is true (Default: X-USER-ACCESS-TOKEN)
- targetUris: A list of regular expressions that match URIs that should receive the headers (Default: .*)
2.6.1
1 day ago
2.6.0
1 month ago
2.5.4
4 months ago
2.5.3
4 months ago
2.5.2
4 months ago
2.5.1
4 months ago
2.5.0
4 months ago
2.4.3
10 months ago
2.4.5
6 months ago
2.4.4
8 months ago
2.4.1
11 months ago
2.4.0
11 months ago
2.4.2
11 months ago
2.3.0
1 year ago
2.3.2
1 year ago
2.3.1
1 year ago
2.2.3
1 year ago
2.2.2
1 year ago
2.2.1
2 years ago
2.2.0
2 years ago