ℹ️ HERE Node Adapter:HERE Node Adapter is a commercial product and this repo is for evaluation purposes. Use of the HERE Node Adapter and HERE Core components is only granted pursuant to a license from OpenFin. Please contact us if you would like to request a developer evaluation key or to discuss a production license.
HERE Node Adapter (@openfin/node-adapter)
The HERE Node Adapter allows the use of the OpenFin API from node.js. Please note that the launch and connect methods are specific to a node environment. This repo contains examples of how you can use the OpenFin Node Adapter.
| Documentation | Description |
|---|---|
| Use a SideCar App - Basic | This example shows you how you can launch a node app as an app asset and connect to it. |
| Connect To A InteropBroker - Basic | This example shows you how Node can connect to a Platform's InteropBroker through the node adapter. |
| Connect-To-Workspace-For-Interop | This example demonstrates how you can connect a node app to an interop broker running on a platform, which in this case is the WorkspacePlatformStarter example, and perform context and intent publishing and receiving. |
| Setup-An-Example-Websocket-server | This doesn't use the node adapter but is an example node server that lets you have a webform that can post messages to the server for broadcasting on a websocket. This can be used by samples that need to give an example of a websocket response and we include example notification messages that tie in with our workspace platform starter example notification service. |
| Setup-An-Example-JWKS-Endpoint | This doesn't use the node adapter but is an example node server that can generate RS256 signed JWTs and publish the matching public key via a /.well-known/jwks.json endpoint. It also supports HS256 for cases where the Cloud Interop Server (Service Gateway) cannot access a JWKS URI (internal idp). This can be specified as the shared secret that can be used for validation. It can be used by other examples that need a jwtRequestCallback or a signed token to test against, and it works unmodified behind an ngrok tunnel so another machine can call it. It also includes guides for gathering the same values from Microsoft Entra ID and Keycloak when you already have a real identity provider. |
