Download the PHP package nerdcel/kirby-oauth2-email without Composer
On this page you can find all versions of the php package nerdcel/kirby-oauth2-email. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nerdcel/kirby-oauth2-email
More information about nerdcel/kirby-oauth2-email
Files in nerdcel/kirby-oauth2-email
Package kirby-oauth2-email
Short Description Kirby Plugin to setup OAuth for SMTP Mail (e.g. Outlook, Gmail, Yahoo, etc.)
License MIT
Informations about the package kirby-oauth2-email
Kirby OAuth2 Email
This plugin is a Kirby extension that allows you to authenticate users via OAuth2 and their email address.
This plugin implements the OAuth2 flow for the following providers:
- Microsoft
- Yahoo
- Azure
Installation
Or download the latest release unzip it, copy it to site/plugins/kirby-oauth2-email
.
Setup your OAuth2 provider
You need to configure your OAuth2 provider to allow the authentication of your users. You need to create an OAuth2 application and get the client ID and client secret. At this point, I assume you have a basic understanding of OAuth2 and how to setup your provider.
You most likely need to provide a redirect URL, which is https://your-site.tld/callback-path
.
If this step is done, you can configure the plugin using the refresh token, client ID, and client secret (tenantId e.g. Azure).
Once this is done you can configure the plugin.
Usage
Edit your config.php
and add the following lines:
After you have configured the plugin, you should be able to send emails for example using the dreamform plugin or when you use the 2FA option for the panel.
Usefull links
All versions of kirby-oauth2-email with dependencies
getkirby/composer-installer Version ^1.1
decomplexity/sendoauth2 Version ^v4.1.0
ext-mbstring Version *
ext-openssl Version *
stevenmaguire/oauth2-microsoft Version ^2.2.0
greew/oauth2-azure-provider Version ^v2.0.0
hayageek/oauth2-yahoo Version ^2.0.5
league/oauth2-google Version ^4.0.1
psr/log Version ^3.0.2
thenetworg/oauth2-azure Version ^v2.2.2
symfony/polyfill-mbstring Version v1.31.0