sign in with apple

What would be the best way to integrate sign in with apple ?

We don’t have anything built-in, I’d suggest following the Apple Documentation for this.

I would suggest to use Firebase, it offers authentication SDK which includes Sign in with Apple, for both iOS and Android platforms.