An open API service indexing awesome lists of open source software.

https://github.com/magiclabs/wp-magic

WordPress Plugin for Magic
https://github.com/magiclabs/wp-magic

Last synced: about 1 year ago
JSON representation

WordPress Plugin for Magic

Awesome Lists containing this project

README

          

# Login by Magic

![Login by Magic](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v3rqddyj4kfs151vel03.png)

This plugin replaces the standard WordPress login form with one powered by Magic that enables passwordless email magic link login. Please see the https://magic.link/docs for more details on functionality.

Login by Magic plugin also supports the WooCommerce login.

Note: Make sure your admin user in WordPress has an email address that matches a Magic user.

## Installation

* Upload the Plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
* Activate the plugin through the `Plugins` screen in WordPress.
* Go to the Magic settings page and enter the followings:
* Publishable API Key: Your Magic API key from the [dashboard](https://dashboard.magic.link/).
* Secret Key: Your Magic secret key from the [dashboard](https://dashboard.magic.link/).
* Redirect URL(Optional): The URL to which Magic should redirect after login.
* Select User role: The role of the user. Select Administrator, Editor, Author, Contributor, Subscriber, or any other role.
* Select Login Type: Check Admin login or WooCommerce login based on your choice.
* Save the settings.

![Login by Magic Options](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yokfpdvs7aj7p4t864us.png)

## Development
Install WordPress and move the plugin to the `wp-content/plugins` directory.
Run `composer install` to install the dependencies.
Run `composer test` to run the tests.

## Contribution

We appreciate feedback and contribution to this plugin! Before you get started, please see the CONTRIBUTING.md file for more details.

## Support

* Use [Issues](https://github.com/magiclabs/wp-magic/issues) for code-level support
* Use [Discord](https://discord.gg/magiclabs) for usage, questions, and feedbacks
* You can also use the WP.org support forum for questions

## Vulnerability Reporting
Please do not report security vulnerabilities on the public GitHub issues.

If you find any security vulnerability, please report it to security@magic.link. If you are not in our bounty program, we would love to invite you to join our program on HackerOne. Bounty will be awarded if it is confirmed a valid vulnerability.

## What is Magic?
Magic offers passwordless authentication and cryptographically secured user identity to your applications. With just a few lines of code, your application’s security is instantaneously upgraded, and your end users can enjoy a future-proof and blockchain-enabled login solution.

Visit https://magic.link to learn more.