tahakhram/laravel-adb2c-openid

Azure Laravel b2c

v1.21 2021-10-29 15:13 UTC

This package is not auto-updated.

Last update: 2024-09-28 06:17:39 UTC


README

提供 Azure AD B2C openid 认证。

常规安装

  1. composer require tahakhram/laravel-adb2c-openid:~1.2
  2. 运行 php artisan vendor:publish --provider="TahaKhram\LaravelAdb2cOpenid\AdB2CServiceProvider" 以将配置文件安装到 config/azure.php
  3. 在 routes 文件夹中的 web.php 中添加

Route::get('/login_azure', '\TahaKhram\LaravelAdb2cOpenid\Azure@azure'); Route::get('/azurecallback', '\TahaKhram\LaravelAdb2cOpenid\Azure@azurecallback');