facing the same issue
Post
Replies
Boosts
Views
Activity
For him, the service id is the correct one. Because he is getting the code for web login. But when you use an app to get the code, you should use bundle id instead.as explained here: https://forums.developer.apple.com/thread/118135