Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ssionn's avatar

Apple using own OAuth route (Socialite issue)

Hey, all. I have this issue where apple is using their own OAuth route to authorize the access to the users profile. I wanted to use session based login. But it seems I can't do anything about their route. Is there a way I can connect it so that it uses my route instead of theirs?

My route:

/auth/{$provider}/callback

Apple route:

/auth/authorize
0 likes
3 replies
martinbean's avatar

@Ssionn That makes absolutely no sense.

What redirects where when? How are you meant to authorise a user giving your app access to their Apple account, if Apple never redirects back to your server? You need to configure the callback URI somewhere to tell Apple where to return to give your app a chance to convert an authorisation code to an access token.

Please or to participate in this conversation.