steinbauerit/microsoftentraidauthentication

此包最新版本(1.0.2)的许可证信息不可用。

用于Microsoft Entra ID身份验证的Neos Flow包

1.0.2 2024-08-01 14:41 UTC

This package is not auto-updated.

Last update: 2024-09-27 10:35:27 UTC


README

用于Microsoft Entra ID身份验证的Neos Flow包

安装

只需运行

composer require steinbauerit/microsoftentraidauthentication

配置

SteinbauerIT:
  MicrosoftEntraIdAuthentication:
    options:
      clientId: ed491d0d-98de-40cd-b0d4-76c4cc96e680
      clientSecret: 1fk50~k~kJgjUrLnM.Ax3sNfQ6cOzNVkklPWecqP
      tenantId: 0304d5a7-ab72-4656-bc7b-5f98b4c78ccc
    account:
      accountIdentifierProperty: userPrincipalName # properties form additionalAttributes are automatically detected
      authenticationProviderName: Acme.Package:Login
      allowedRoles:
        - Acme.Package:User
        - Acme.Package:Admin
    onAuthenticationSuccess:
      redirectToUri: /dashboard
    # Class execution coming soon

使用方法

请遵循“使用Microsoft登录:应用程序品牌指南”:https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps

afx`
    <Neos.Fusion:Link.Action href.package="SteinbauerIT.MicrosoftEntraIdAuthentication" href.controller="Authentication" href.action="login">Login with MS Entry ID</Neos.Fusion:Link.Action>
`
  <a href="/mseid/login">Login with MS Entry ID</a>

作者