GithubHelp home page GithubHelp logo

sign-in-with-apple's Introduction

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.

sign-in-with-apple's People

Contributors

kasparsd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sign-in-with-apple's Issues

Fatal error: Uncaught Error: Class "WPSH\SignInWithApplePlugin\Plugin" not found

Fatal error: Uncaught Error: Class "WPSH\SignInWithApplePlugin\Plugin" not found
in /Users/adnan/Local Sites/devanalytify/app/public/wp-content/plugins/sign-in-with-apple-master/plugin.php on line 20

Call stack:

{closure}()
wp-includes/class-wp-hook.php:307
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:331
WP_Hook::do_action()
wp-includes/plugin.php:476
do_action()
wp-settings.php:461
require_once()
wp-config.php:91
require_once()
wp-load.php:50
require_once()
wp-admin/admin.php:34
require_once()
wp-admin/plugins.php:10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.