Linux 软件免费装
Banner图

Aysnc Login with Auth0

开发者 aysnc
junaidbhura
更新时间 2025年9月13日 20:21
PHP版本: 8.2 及以上
WordPress版本: 6.8
版权: MIT

标签

login sso single-sign-on auth0

下载

1.0.0

详情介绍:

❤️ Contribute on GitHub Auth0 Login for WordPress provides a simple, secure way to log in to WordPress using Auth0. It hides the default login screen with a redirect to Auth0. Watch this video to see how to configure your Auth0 application and hook it up to WordPress: [vimeo https://vimeo.com/1104092077] Features Configuration You can configure the plugin either through the WordPress admin interface or by defining constants in your wp-config.php file (recommended for enhanced security). Option 1: WordPress Admin Configuration (Basic)
  1. Go to WordPress Admin > Settings > Auth0
  2. Enter the following required information:
  3. Secret Login Token: A unique, random string that will be used for your custom login URL
  4. Domain: Your Auth0 domain (e.g., your-tenant.auth0.com)
  5. Client ID: Your Auth0 application Client ID
  6. Client Secret: Your Auth0 application Client Secret
  7. Save changes
Option 2: wp-config.php Configuration (Recommended) For enhanced security, add the following lines to your wp-config.php file: // Auth0 Configuration define( 'AYSNC_AUTH0_SECRET_LOGIN_TOKEN', 'your-secret-token' ); define( 'AYSNC_AUTH0_DOMAIN', 'your-tenant.auth0.com' ); define( 'AYSNC_AUTH0_CLIENT_ID', 'your-client-id' ); define( 'AYSNC_AUTH0_CLIENT_SECRET', 'your-client-secret' ); This method prevents your Auth0 credentials from being stored in the database. Important: Don't lose your login URL! After configuring the plugin:
  1. Your WordPress login URL will change to: https://your-wordpress-site.com/your-secret-token
  2. The standard wp-login.php page will be disabled
  3. Save your new login URL in a secure location - you'll need it to access your WordPress admin area
If you change your Secret Login Token in wp-config.php, use the "Update Login URL" button in the Auth0 settings page to refresh the login URL.

安装:

  1. Upload 'aysnc-wordpress-auth0' to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Configure the plugin through Settings > Auth0 or by adding constants to wp-config.php

屏幕截图:

  • WordPress Config Settings

常见问题:

What happens if I lose my Secret Login Token?

If you've defined it in wp-config.php, you can retrieve it from there. If you've only set it in the WordPress admin, you may need to access your database directly to retrieve it.

Can I still use the standard WordPress login?

No, the standard wp-login.php is disabled for security reasons. You must use the custom login URL.

Does this plugin work with multisite?

Yes, the plugin is compatible with WordPress multisite installations.

What if I need to update my Auth0 credentials?

You can update them either in the WordPress admin interface or in your wp-config.php file, depending on how you initially configured the plugin.

更新日志:

1.0.0