Initially, I’d just unit test the function that handles the Keycloak response using mock data. That should tell you that your SP correctly handles the information provided by Keycloak on user login.
For an automated integration test with Keycloak, I’d say Selenium/Cypress/Playwright/Puppeteer would be the way to go. As for how to use those, it depends on what language you’re working with.
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/1974f32b-49f2-494d-a5ba-ec1a35ad4e23n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/00a201d89a34%245ee718d0%241cb54a70%24%40prosentient.com.au.