Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate testing #16

Open
klausbetz opened this issue Nov 27, 2022 · 1 comment
Open

Automate testing #16

klausbetz opened this issue Nov 27, 2022 · 1 comment

Comments

@klausbetz
Copy link
Owner

klausbetz commented Nov 27, 2022

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

  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
Copy link
Owner Author

ngrok's domain feature looks promising for this purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant