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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package kirby-oauth2-email

Kirby OAuth2 Email

Kirby 4+ Release License

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:

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

PHP Build Version
Package Version
Requires php Version >=8.3
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nerdcel/kirby-oauth2-email contains the following files

Loading the files please wait ....