Is the OAuth access Token (used for Spotfire Server WebServices API) generated using one of the servers in a cluster environment valid across multiple servers?
book
Article ID: KB0076074
calendar_today
Updated On:
Products
Versions
Spotfire Server
7.13 and Higher
Description
When implementing Web Services API an OAuth2 authentication token has to be passed with each request. The OAuth access token needs to be obtained from the Spotfire Server. The token is retrieved by calling the token endpoint: http://<server>:<port>/spotfire/oauth2/token This article clarifies if in a cluster environment, the above token generated from any one of the servers is valid across all servers in a cluster.
Resolution
OAuth access token is valid on all servers in the cluster. As such if you are using clustered servers the session should be sticky, but other than that all calls and tokens should be supported by either server. From an end user perspective they don't need to know what server they are connecting to, but their session does have to stay on the same server for the duration for the Web Player session.
Issue/Introduction
Is the OAuth access Token (used for Spotfire Server WebServices API) generated using one of the servers in a cluster environment valid across multiple servers?