=== Conneckly Login ===
Contributors: brackly
Donate link: 
Tags: conneckly, login, one-tap login, social login, authentication
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

One-tap login with Conneckly integration.

== Description ==
Conneckly Login plugin allows users to log in to your WordPress site using their Conneckly account with a one-tap login button. The plugin provides a seamless authentication experience and integrates with both the standard WordPress login form and WooCommerce login forms.

Key features:
- One-tap login button with user's name, email, and profile picture
- Configurable button text, theme, and shape
- Option to display on admin login, customer login, or both
- User registration control (enable/disable new user registration)
- Shows connection status in WordPress users list
- Automatic account creation for new users
- Secure token-based authentication

== Installation ==
1. Upload the `conneckly-login` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings → Conneckly Login and configure:
   - Enter Conneckly App ID and App Secret
   - Customize button appearance and behavior
   - Set display preferences
4. The login button will now appear on your login forms

== Frequently Asked Questions ==
= How do I get Conneckly App ID and App Secret? =
Visit [Conneckly Developer Portal](https://conneckly.online/apps) to create an app. Set redirect URI to your site's homepage.

= Can I customize the login button appearance? =
Yes! You can choose:
- Button text: 4 different options
- Theme: Light, Neutral or Dark
- Shape: Pill or Rectangular

= Where will the login button appear? =
You can choose to display it on:
- WordPress admin login
- WooCommerce customer login
- Both locations

= What happens when a new user logs in? =
If user registration is enabled, a new WordPress account will be automatically created. If disabled, only existing users can log in.

= How do I see which users are connected? =
Go to Users → All Users. A "Conneckly" column shows connection status.

== Screenshots ==
1. One-tap login button on login screen
2. Button customization settings
3. User connection status in admin
4. Conneckly profile information

== Changelog ==
= 1.0 =
* Initial release with basic functionality
* Added one-tap UI with user session detection
* Implemented Google-style button design
* Added user registration toggle
* Improved admin user connection display
* Fixed admin login display issues
* Changed redirect to homepage after login
* Enhanced WooCommerce form integration
* Added light/dark logo variants

2.1: Critical fix for admin login display and redirection behavior

== Developer Notes ==
The plugin uses the following hooks:
- `login_header`: Adds button to WordPress login
- `woocommerce_login_form_start`: Adds button to WooCommerce login
- `template_redirect`: Handles authentication callback
- `manage_users_columns`: Adds Conneckly status to users list