klausbetz / apple-identity-provider-keycloak

An extension for Keycloak, that enables web-based sign in with Apple and token exchange
Apache License 2.0
193 stars 27 forks source link

Automate testing #16

Open klausbetz opened 2 years ago

klausbetz commented 2 years ago

Find a way to automate the sign in with apple.

Following cases should be covered

Test setup preparations

  1. Configure local Keycloak instance with test realm (e.g. using docker)
  2. Expose Keycloak using ngrok
  3. Configure redirect-URI in Apple developer portal
  4. Make sure the test users haven't already signed in with apple on the service (if they have, remove SIWA in their appleid settings)
klausbetz commented 1 year ago

ngrok's domain feature looks promising for this purpose.