Hi Apple team,
I'm integrating Sign in with Apple on my website https://roomieqindia.com using a custom Node.js backend, and I'm consistently receiving this error:
invalid_client
My configuration:
✅ Service ID: com.roomieq.auth
✅ Team ID: 75XVX5RXMQ
✅ Key ID: (from Apple-generated .p8 key)
✅ Private Key: (.p8 key pasted correctly in backend)
✅ App ID Selected: com.roomieq.roomieq
✅ Domain Added: roomieqindia.com
✅ Return URL: https://roomieqindia.com
✅ Clicked Done → Continue → Save after configuration
Behavior:
When I open this URL directly in browser:
https://appleid.apple.com/auth/authorize?client_id=com.roomieq.auth&redirect_uri=https%3A%2F%2Froomieqindia.com&response_type=code%20id_token&scope=name%20email&response_mode=web_message&frame_id=ef13a755-75bb-4eef-8dd6-73bd75d6ede5&m=11&v=1.5.5
I get invalid_client.
My backend uses apple-signin-auth Node.js package to:
Generate the client secret (JWT)
Exchange auth code for tokens
Verify ID token
Everything fails at step 1 because Apple doesn’t seem to recognize my Service ID as valid.
What I Need:
Can you please verify if:
My Service ID ( com.roomieq.auth ) is fully active and recognized
My App ID and Service ID are properly linked on Apple’s end
There are any hidden issues with domain or return URL setup
Let me know if I need to reset the Service ID or regenerate anything.
Thanks in advance!
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program