See also Authenticating in Workgroups Portal
Log in to the Application Server
To create a login request you will need the following:
- The Application Server Database URL which you can find from the Server Configurator or the Application Server Deployment Page. This example uses http://example.com/workgroups/database/ in place of the actual URL.
- The Administrator password encrypted the same way it is stored in the database.
- The IP address of the computer you are issuing the request from.
The response contains a session token which can be used to create other requests to the Application Server.
Create Workgroups Portal authentication ticket
Now you can use the above session_token to create an authentication ticket for the portal user to be authenticated in the Workgroups Portal. The ticket expires in 10 minutes.
The response contains an authentication ticket which can be used in Workgroups Portal requests.
Log out from Application Server
Use the authentication ticket to authenticate in Workgroups Portal
If a Workgroups Portal contains auth_ticket query parameter the user will not be asked to log in.
This example uses http://example.com/workgroups_portal/ in place of the actual Workgroups Portal URL.