Skip to main content

Secured Services

Overview

OmniSpatial is able to handle connecting and reading secure services by implementing a Service Worker that acts as a proxy to HTTP requests. This proxy will intercept requests and determine if a token is required to access the content. If a token is required, then it will initiate the proper workflow to retrieve that token (depending on configuration).

Workflow

The proxy (Identity Proxy Service Worker) will intercept all requests. If a request fails to access data, due to an authentication error, it will attempt the workflow to get an access token and then retry the request, this time with the token.

Workflow

Token Handling

Tokens are passed from the main thread (application) and the workflow to generate a token is initiated from the main thread (usually a popup or redirect).

Token Handling