Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Sign in with Apple supports OpenID Connect, so it would be great if support for this could be included in a submodule like the Google support is. This would be a big help to mobile app developers using Drupal who want to integrate the platform sign-in functionality on iOS.
Proposed resolution
Add support for Sign in with Apple, which supports OpenID connect.
Comments
Comment #2
ptmkenny CreditAttribution: ptmkenny commentedI have started to create my own provider in `MYMODULE/src/Plugin/OpenIDConnectClient/OpenIDConnectAppleClient.php`.
With this code, I get an Apple sign in page and can log in with my Apple account, but I get an "access denied" error when I am returned to my site at `https://mysite.lndo.site/openid-connect/apple`.
Comment #3
berramou CreditAttribution: berramou as a volunteer commentedthe route openid_connect.redirect_controller_redirect with the path /openid-connect/{client_name} has
_custom_access: '\Drupal\openid_connect\Controller\OpenIDConnectRedirectController::access'
so you should check why this function return AccessResult::forbidden();