بازدان بۆ ناوەڕۆک
WordPress.org

وۆردپرێس بەکوردی

  • ڕووکارەکان
  • پێوەکراوەکان
  • دەربارە
  • وۆردپرێس بە دەستبێنە
وۆردپرێس بە دەستبێنە
WordPress.org

Plugin Directory

Sign In With Socials (Google, Apple, Microsoft)

  • پێوەکراوێک بڵاوبکەرەوە
  • دڵخوازەکانم
  • Log in
  • پێوەکراوێک بڵاوبکەرەوە
  • دڵخوازەکانم
  • Log in

Sign In With Socials (Google, Apple, Microsoft)

لەلایەن Puvox Software
داگرتن
  • وردەکارییەکان
  • پێداچوونەوەکان
  • دامەزراندن
  • گەشەپێدان
پشتیوانی

وەسف

Allow users to login with Google/Microsoft/Apple accounts. Lightweight, no bloatware packages included.
Useful for sites that need a quick way for their users to sign-in.

Available Options

See all available options and their description on plugin’s settings page. Here are some of them:
* Show/Hide the “Sign In with” button on the login form
* If a user is not already registered, during sign-in an account can be created for that email address (aliases are not allowed by default)
* If a user is already logged in to target social provider, they will be automatically redirected without much fuss
* Restrict users to be coming from only specific domain(s)
* Connect existing user accounts.
* WP-CLI available! See /src/includes/class-wp-cli.php header for supported list.
* One redirect-back link https://YOURDOMAIN.TLD/_AUTH_RESPONSE_SIWE_ for all providers.

Programmatic access

Public functions:
* siwe_authenticate_user($code, $state, $error = null)
* siwe_get_auth_url()
* siwe_get_buttons()

Hooks:
* dozens of hooks, look into any source file to find out specific part

سکرین شۆتەکان

  • The login form with the “Sign in with” button added.
  • This is the second screen shot

دامەزراندن

A) Enter your website “Admin Dashboard > Plugins > Add New” and enter the plugin name
or
B) Download plugin from WordPress.org, Extract the zip file and upload the container folder to “wp-content/plugins/”

پهد

Where can I get a Client ID & Secret for Google?

You will need to sign in to the Google Developer Console

  1. Go to the API Console.
  2. From the projects list, select a project or create a new one.
  3. If the APIs & services page isn’t already open, open the console left side menu and select APIs & services.
  4. On the left, click Credentials > New > OAuth client ID.

Where can I get a Client ID & Secret for Microsoft ?

These resources would help:

  • Azure Portal
  • Publisher verification: overview and partner portal
  • authentication-oauth-register
  • faq – 2fa

Where can I get a Client ID & Secret for Apple ?

These resources would help:

  • Developer Center
  • How to generate keys
  • team id && key id
  • Youtube videos: 1 or 2 or 3 or 4

[Apple only] workaround for localhost

Apple Sign In service does not work with localhost, http or IP-only domains, so if you develop on local host, so follow below steps:

STEP 1
instead of localhost you will need to invent some placeholder domain (anything except example.com) e.g. site.com and use that domain instead of localhost in Apple Redirect-Back urls. Then, to redirect site.com to your localhost, use either (A) or (B) choice:
– (A) Use redirection extension (like this or others) in browser to redirect queries from site.com to localhost, and then jump to STEP 2 below.
or
– (B) Add virtual local domain name e.g. site.com (except example.com) pointing to 127.0.0.1. See the 1-3 lines about “How to setup virtual host”: https://gist.github.com/ttodua/b5f54429c00dad6e052b6ccbda08dcb0#file-readme-md . However, if you are not able to change your wordpress installation domain from localhost at this moment, then use this code from STEP 2

STEP 2
Add this code somewhere (eg. functions.php) to replace the redirect back url for Apple specifically:
add_filter(‘siwe_redirect_back_uri’, function ($url, $provider) { return ($provider === ‘apple’ ? ‘https://site.com/AUTH_RESPONSE_SIWE‘ : $url); }, 10, 2);

Notes about 3rd party services

  • This plugin relies on external services, namely:
    • Google Sign In service: View service description and terms. To revise the connected services, visit here.
    • Microsoft Identity services: View service description and terms. To revise the connected services, visit here or here
    • Apple Sign In services: View service description. To revise the connected services, visite here
    • Also uses some composer vendor dependencies, which are beyong our monitoring or control.

Github

  • Active plugin development is handled on Github. Bugs and issues will be tracked and handled there.

Todo

  • account-id based duplicate detection

پێداچوونەوەکان

initial version works as expected

ttodua تشرینی یه‌كه‌م 9, 2024
initial version works as expected
خوێندنەوەی 1 پێداچوونەوە

بەشداربووان و گەشەپێدەران

“Sign In With Socials (Google, Apple, Microsoft)” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان
  • Puvox Software
  • ttodua

“Sign In With Socials (Google, Apple, Microsoft)” وەربگێڕە بۆ زمانەکەی خۆت.

دەتەوێت بەشداربیت لە گەشەپێدان؟

گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).

ڕووداوتۆمارگەریی گۆڕین

1.0.1

  • Pushed a completely reorganized version with dozens of changes

1.0.0

  • Initial Release (plugin based on https://github.com/tarecord/sign-in-with-google )

مێتا

  • وەشان 1.4.41
  • دوایین بەڕۆژکردنەوە 11 مانگ لەمەوبەر
  • دامەزراندنی چالاک 60+
  • وەشانی وۆردپرێس 6.0 یان بەرزتر
  • تاقیکراوەتەوە تا 6.7.5
  • وەشانی PHP 7.0 یان بەرزتر
  • زمان
    English (US)
  • تاگەکان
    applegoogleloginmicrosoftregister
  • بینینی پێشکەوتوو

هەڵسەنگاندنەکان

5 out of 5 stars.
  • 1 5-star review 5 ئەستێرە 1
  • 0 4-star reviews 4 ئەستێرە 0
  • 0 3-star reviews 3 ئەستێرە 0
  • 0 2-star reviews 2 ئەستێرە 0
  • 0 1-star reviews 1 ئەستێرە 0

زیادکردنی پێداچونەوەکەم

See all reviews

بەشداربووان

  • Puvox Software
  • ttodua

پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

بینینی مەکۆی پاڵپشتی

  • دەربارە
  • هەواڵەکان
  • خانەخوێکردن
  • تایبەتمەندێتی
  • پیشاندان
  • ڕووکاره‌کان
  • پێوه‌کراوه‌کان
  • شێوەئاساکان
  • فێربە
  • پاڵپشتی
  • گەشەپێدەران
  • WordPress.tv ↖
  • بەشداری بکە
  • بۆنەکان
  • بەخشین ↖
  • پێنج بۆ داهاتوو
  • WordPress.com ↖
  • Matt ↖
  • bbPress ↖
  • BuddyPress ↖
WordPress.org
WordPress.org

وۆردپرێس بەکوردی

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • سەردانی هەژماری (Mastodon) بکە
  • Visit our Threads account
  • سەردانی پەڕەی فەیسبووکمان بکە
  • سەردانی هەژماری ئینستاگراممان بکە
  • سەردانی هەژماری لینکدئینمان بکە
  • Visit our TikTok account
  • سەردانی کەناڵەکەمان بکە لە یوتیوب
  • Visit our Tumblr account
کۆد هۆنراوەیە.
The WordPress® trademark is the intellectual property of the WordPress Foundation.