WP Manifestindependent plugin directory
manifest / users / sign-in-with-apple

Sign In with Apple

A WordPress plugin for adding the Signin with Apple

★ 49stars
93composer installs
0.1.0latest · 7 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/kasparsd/sign-in-with-apple/archive/refs/heads/master.zip

On Packagist as kasparsd/sign-in-with-apple:

composer require kasparsd/sign-in-with-apple
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Sign In with Apple for WordPress

A WordPress plugin to configure and enable Sign In with Apple for existing WordPress users.

Important: This pugin is currently work in progress! Please don't use it on production sites.

Requirements

  • Apple Developer Account ($99 per year) for registering your site with Apple.

  • Configured Sign In with Apple for the web -- new or existing App ID for iOS or macOS with "Sign In with Apple" capability enabled and a Service ID (such as com.yourdomain.signinwithappleplugin) with "Sign In with Apple" service enabled.

  • Specify the Return URL as your WordPress login URL such as https://example.com/wp-login.php.

Install

The plugin must be installed as a Composer dependency since it uses a third party package for parsing JSON Web Token (JWT) responses:

composer require kasparsd/sign-in-with-apple

Configuration

  1. Visit the site options at https://example.com/wp-admin/options.php and specify your Service ID (such as com.yourdomain.applelogin) in siwa_plugin_service_id.

  2. Visit your WordPress profile https://example.com/wp-admin/profile.php and click on the "Sign In with Apple" button to associate your WordPress user with your Apple ID.

  3. Use the "Log In with Apple" button at the bottom of the WordPress login page to log-in using your Apple ID.

To Do

  • [ ] Add id_token validation based on the Apple public key.
  • [ ] Enable new user signup for WooCommerce customers.

Known Issues

  • [ ] Apple currently doesn't include user name and email in their JWT id_token. The only available field is the user ID in the sub field.

Credits

Created by Kaspars Dambis.

Releases

1 release.

Tag
Published
0.1.0 latest
Jun 9, 2019 7 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.