title: What setup is needed for redirection to perform well after successful apple sign up/ sign in
body: <p>I use next.js and next-auth for authorization and there I have apple sign in and sign up, it works well but after I finished signing in/up I am redirected to home page rather to the one I specified.</p>
  <p>If I use facebook auth. - everything works fine, but apple sign in/up - no</p>
  <p>I found many posts about this problem, maybe someone knows what can cause it?
  <a href="https://developer.apple.com/forums/thread/679144" rel="nofollow noreferrer">https://developer.apple.com/forums/thread/679144</a></p>