Sign in with Apple in SwiftUI
Apple's example project for Sign in with Apple is built with UIKit. In this project, I wrapped the button and the behaviour that goes with it in a SwiftUI component.
You need to do some setup in your developer account to issue sign in requests. Refer to Apple's documentation for guidance with the necessary steps. I had to jump some hurdles to get that working, which I wrote down in this blogpost.