Apple Signin
A WordPress plugin to enable sign in with Apple
by Abdul Haq · github.com/abdulhaq/apple-signin-wordpress · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/abdulhaq/apple-signin-wordpress/archive/refs/heads/master.zipFrom the readme
Apple Signin WordPress Plugin
When I wanted to integrate Apple Signin on my WordPress website, I was surpised that no such free plugin was available on internet (at least I was not able to find after search for good 3-4 hours). Hence I had to develop something of my own and now decided to release it as a proper plugin which anyone can install on their WordPress website in just a few minutes.
Environment Variables
To run this project, you will need to add the following environment variables to variable.php file.
clientid
This is something like com.example.com
postloginurl
Where users should be redirected after successfully logging in
kid
This is Key ID and can be found on apple developer dashboard under Certificates, Identifiers & Profiles
iss
Also call Team ID, this can be found on apple developer dashboard under Certificates, Identifiers & Profiles as Identifiers
privatekey
Your private key
Installation
Once you have installed the plugin and changed the variables in variables.php file, you then need to add redirect url in you apple developer dashboard. URL should be like following:
After that use the following shortcode where ever you wish to display Apple singin b