kasparsd/sign-in-with-apple
Composer 安装命令:
composer require kasparsd/sign-in-with-apple
包简介
A WordPress plugin for adding the Signin with Apple
README 文档
README
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 URLas your WordPress login URL such ashttps://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
-
Visit the site options at
https://example.com/wp-admin/options.phpand specify your Service ID (such ascom.yourdomain.applelogin) insiwa_plugin_service_id. -
Visit your WordPress profile
https://example.com/wp-admin/profile.phpand click on the "Sign In with Apple" button to associate your WordPress user with your Apple ID. -
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_tokenvalidation 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 thesubfield.
Credits
Created by Kaspars Dambis.
kasparsd/sign-in-with-apple 适用场景与选型建议
kasparsd/sign-in-with-apple 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 93 次下载、GitHub Stars 达 50, 最近一次更新时间为 2019 年 06 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 kasparsd/sign-in-with-apple 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kasparsd/sign-in-with-apple 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 93
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 50
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-06-09