Skip to main content

Appendix B – Integration with third party application or HTTP service


User Portal, Spark Gateway, Third party application or HTTP server


User Portal:

  • Prepare a token which can be used to verify user.

Spark Gateway:

  • Configure, authToken.exec, authToken.sucessCode in gateway.conf.

Basic flow:

  1. User Portal send the token to Spark Gateway along with other parameters.
  2. Spark Gateway check if the token name is same as the value configured in It’s same, then.
  3. Spark Gateway execute the application or HTTP Request(GET) configured in authToken.exec, if the return code or HTTP Status code is same as the authToken.sucessCode, gateway will allow the connection, otherwise reject it.