Hello Jonatan,
To initiate a policy on the '/apiauthsvc' endpoint you'd initiate the same way you'd do for the '/authsvc' endpoint:
GET /mga/sps/apiauthsvc/policy/id
The above would initiate whichever authentication policy is associated with the 'id' identifier.
If a policy has a 'StateId' associated with it it means it's in progress.
For the '/apiauthsvc' you have to use PUT or POST to go to the next step in the policy.
The HTTP Methods available for each type of authentication policy are detailed in the API documentation included on the appliance.
------------------------------
JACK YARBOROUGH
------------------------------
Original Message:
Sent: Tue September 30, 2025 08:43 AM
From: Jonatan Wålegård
Subject: Trigger authentication policy using a GET toward apiauthsvc
Hi,
Whenever I do a call from browser using for example PUT toward .../mga/sps/apiauthsvc?StateId=blabla, ISAM re-runs the authentication policy the stateid is related to.
But whenever I do it using a GET, the authentication policy does not re-run.
Is there any way for me to change this behavior so as a GET would also trigger the policy?
------------------------------
Jonatan Wålegård
------------------------------