I just figured. SignInWithAppleButton was inside another view with a tap gesture that messed up the button tap. Removing it solved the problem.
Topic:
App & System Services
SubTopic:
General
Tags: