server-config.json (OnPremise Only)

To configure remote authentication, you will need to edit the server-config.json file located in /app/webserver folder and add one or more urls that will handle user authentication. The token value is required to authenticate a user and can be passed in the url using {token}.

Visible Redirect

If you need to support only one site for authentication, change the value of auth_urls to the url hosting the authentication code.


          {
              "Integrify55":{
                  "service_root":"url to service",
                  "consumer_key":"consumer key",
                  "consumer_secret":"consumer secret",
                  "temp_path": "temp file path",
                  "proxy_port":9000,
                  "auth_urls": "https://myintranet/myauth.ext?token={token}&redirect={redirect}"
              }
          }
          
Note: The user's browser will be redirected to this url. Your authentication service will need to redirect them back. Notice the {redirect} parameter on the url. Integrify will replace this with the current page location.

Silent JSONP Request

If your authentication service will be hosted on a different domain than Integrify, use the JSONP configuration. A callback name will be formatted by Integrify into the required {callback} parameter.


          {
              "Integrify55":{
                  ....
                  ....
              "auth_urls" :  {
                      "*":[
                          {
                              "url":"https://myintranet/myauth.ext?token={token}&callback={callback}",
                              "get_type":"jsonp"
                          }
                      ]
              },
                  "proxy_port":9000
              }
          }