An authentication proxy, which is used for remote access, might use your identity provider to authenticate users. The authentication proxy will challenge the user before visiting the Appshare PWA and customer services. The authenticated state is usually maintained through http-only cookies. The cookies are set by the authentication proxy and the Appshare PWA is not aware of them. By default, a cookie is only sent by the browser to the same domain it was set by. This requires the Appshare PWA hosting service and customer service to be on the same domain.

Appshare PWA can not use the authenticated state from the authentication proxy to sent access tokens to the customer service. Appshare PWA can still leverage the authenticated state on the identity provider to request an access token without the user providing credentials again.

image.png

The browser needs to maintain sessions with the following services.

image.png