I'm trying to set up Sign in with Apple for the first time and I'm getting the following error:
invalid_request "Invalid client scope"
I'm using Drupal 9 with the OpenID Connect module.
I'm trying to let users sign in with Apple on an Ionic React app hosted from my Drupal site. (Later I will add Sign in with Apple to the iOS version of the Ionic app.)
I have the mobile app registered in my Apple developer account and I have enabled sign in with Apple. I also created a services ID for web signin.
To connect via OpenID, I'm using this Services ID as my client ID and the downloaded key as the OpenID secret.
After configuring the Drupal OpenID Connect module, I have a sign in with Apple link on the Drupal site like this:
However, when I click this link, I get the "Invalid client scope" error. I can't figure out what this error means so I don't know how to debug further. Any help would be much appreciated.