Victor Neiman
09/09/2024, 6:25 PM/acs
) but the problem is that the request flow starts with a GET /mockedSSO
which should then 302 redirect to POST /mockedACS
but it turns out it's not possible to change the HTTP verb when redirecting so I can't go from a GET
to a POST
. I tried also with webhook/callback but since it is asynchronous the browser does not render the callback response. Was hoping for some pointers since I imagine this kind of thing has been done before.Victor Neiman
09/09/2024, 6:30 PM{
"mappings": [
{
"request": {
"method": "GET",
"urlPath": "/mockedSSO"
},
"serveEventListeners": [
{
"name": "webhook",
"parameters": {
"method": "POST",
"url": "http://<auth-service>/acs",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "SAMLResponse=<SAML Response Goes Here>"
}
}
]
}
]
}
Victor Neiman
09/09/2024, 6:32 PMhttp://<auth-service>/acs
and I am stuck on the /mockedSSO
endpoint.Rafe Arnold
09/10/2024, 8:26 AM