Native Apple OAuth with Hotwire Native

How I implemented native Sign in with Apple for a Hotwire Native app, reusing the same Devise OmniAuth endpoint and cookie session as the web app.