Title: OAuth2 Account Login
Author: Digitaldive
Published: <strong>24. veljače 2026.</strong>
Last modified: 24. veljače 2026.

---

Pretraga dodataka

![](https://ps.w.org/oauth2-account-login/assets/icon-256x256.png?rev=3468901)

# OAuth2 Account Login

 Od [Digitaldive](https://profiles.wordpress.org/digitaldive/)

[Preuzmi](https://downloads.wordpress.org/plugin/oauth2-account-login.1.0.1.zip)

 * [Detalji](https://hr.wordpress.org/plugins/oauth2-account-login/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/oauth2-account-login/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/oauth2-account-login/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/oauth2-account-login/#developers)

 [Podrška](https://wordpress.org/support/plugin/oauth2-account-login/)

## Opis

WP OAuth2 adds “Login with WordPress.com” (OAuth2) to your WordPress login screen
and a connect/disconnect widget on user profile pages. It’s designed for agencies
and teams managing multiple sites who want a consistent WordPress.com login without
installing Jetpack.

External Service: WordPress.com OAuth2 API
 – Service purpose: Authenticate users
with their WordPress.com accounts. – Data sent: Client ID, redirect URI, OAuth authorization
code, and standard HTTP request metadata during the OAuth flow. – Data received:
WordPress.com user ID, email, and display name to link or create WordPress users.–
Service terms: https://wordpress.com/tos/ – Privacy policy: https://automattic.com/
privacy/

Features:

 * WordPress.com login (OAuth2 “auth” scope).
 * Link or unlink WordPress users to WordPress.com accounts.
 * Auto-create users when no matching email exists (optional).
 * Allowlist by email domain or WordPress.com user ID (optional).
 * Audit log of the last 20 OAuth attempts (optional).
 * Stores only WordPress.com user ID in user meta (no access tokens stored).
 * Short-lived OAuth state with HttpOnly cookie + transient for CSRF protection.

Setup requires creating a WordPress.com application and adding the redirect URI 
shown in the plugin settings. Feature toggles let you enable or disable the login
button, profile widget, auto-create users, admin notices, allowlists, and the audit
log.

### Privacy

This plugin connects to WordPress.com to authenticate users. It stores the WordPress.
com user ID in WordPress user meta to link accounts. OAuth access tokens are used
during the login flow and are not stored. A short-lived HttpOnly cookie and transient
are used for OAuth state validation and expire automatically. If the audit log is
enabled, the last 20 OAuth attempts are stored (time, status, IP address, and basic
details) in a non-autoloaded option. WordPress.com service terms: https://wordpress.
com/tos/ and privacy policy: https://automattic.com/privacy/.

## Instalacija

 1. Upload the plugin folder to `/wp-content/plugins/` or install via the WordPress
    plugin uploader.
 2. Activate the plugin through the **Plugins** menu.
 3. Go to **WP OAuth2** in the WordPress admin menu and enter your WordPress.com App
    Client ID and Client Secret.
 4. Copy the Redirect URI shown on the settings page into your WordPress.com app configuration.
 5. Use the login button on the WordPress login screen or link accounts from profile
    screens.

## Pitanja i odgovori

### Do I need Jetpack?

No. This plugin uses WordPress.com OAuth2 directly and does not require Jetpack.

### What permissions are requested?

The OAuth request uses the WordPress.com “auth” scope to authenticate the user.

### What data is stored?

The plugin stores the WordPress.com user ID in user meta to link accounts. It does
not store OAuth access tokens. A short-lived state cookie and transient are used
during the OAuth flow and expire automatically.

### How do allowlists work?

You can restrict login to specific email domains and/or WordPress.com user IDs from
the settings page. When enabled, an empty list blocks all logins.

### What does the audit log store?

When enabled, the plugin stores the last 20 OAuth attempts (time, status, and basic
details) in a non-autoloaded option for debugging.

### Can it auto-create users?

Yes. If a WordPress.com user has no linked account and no matching email, a new 
user is created.

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“OAuth2 Account Login” je softver otvorenog koda. Sljedeće osobe su doprinijele 
ovom dodatku.

Suradnici

 *   [ Digitaldive ](https://profiles.wordpress.org/digitaldive/)

[Prevedite “OAuth2 Account Login” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/oauth2-account-login)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/oauth2-account-login/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/oauth2-account-login/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/oauth2-account-login/)
od [RSS](https://plugins.trac.wordpress.org/log/oauth2-account-login/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.0.0

 * Initial release with WordPress.com OAuth2 login, account linking, feature toggles,
   allowlists, and audit log.

## Meta

 *  Version **1.0.1**
 *  Zadnje ažuriranje **prije 9 mjeseci**
 *  Aktivnih instalacija **Manje od 10**
 *  WordPress inačica ** 5.2 ili viša **
 *  Testirano do **6.9.11**
 *  PHP inačica ** 7.0 ili viša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/oauth2-account-login/)
 * Oznaka
 * [login](https://hr.wordpress.org/plugins/tags/login/)[oauth2](https://hr.wordpress.org/plugins/tags/oauth2/)
   [sso](https://hr.wordpress.org/plugins/tags/sso/)[user management](https://hr.wordpress.org/plugins/tags/user-management/)
   [WordPress.com](https://hr.wordpress.org/plugins/tags/wordpress-com/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/oauth2-account-login/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/oauth2-account-login/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/oauth2-account-login/reviews/)

## Suradnici

 *   [ Digitaldive ](https://profiles.wordpress.org/digitaldive/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/oauth2-account-login/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://digitaldive.pro)