just in case... Does Wiremock may support SAML auth acting as Identity Provider (IdP) mocking need?
looking to mock it for load testing needs together with regular APIs
t
Tom
12/12/2023, 11:37 AM
I’m sure you could mock a SAML endpoint with WireMock, since it’s just an HTTP + XML API. I don’t know of any public examples of this unfortunately.
🙌 1
a
AndriiSKR
12/12/2023, 11:40 AM
yeah, i would love to have example. Based on xml tricks, i am quite confused how to make it work 🙂
AndriiSKR
12/15/2023, 9:45 AM
@Tom i have done the tech research on how SAML works.
Now wondering if I can configure mock in such way:
• URL decode the SAML Request
• base64 decode the SAML Request
• extract some info (ID and Issuer) from XML
• respond with ID + Issuer in Json.