Find a way to automate the sign in with apple.
Following cases should be covered
- browser login
- token exchange (apple authz code to keycloak-tokens using different Service ID)
- token exchange (apple authz code to keycloak-tokens using same Service ID)
Test setup preparations
- Configure local Keycloak instance with test realm (e.g. using docker)
- Expose Keycloak using ngrok
- Configure redirect-URI in Apple developer portal
- Make sure the test users haven't already signed in with apple on the service (if they have, remove SIWA in their appleid settings)