steinbauerit / microsoftentraidauthentication
Neos Flow package for Microsoft Entra ID authentication
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ^8.0 || ^8.1 || ^8.2 || ^8.3
- steinbauerit/azure-auth-php-client: ^1.0
README
Neos Flow package for Microsoft Entra ID authentication
Installation
Just run
composer require steinbauerit/microsoftentraidauthentication
Configuration
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
Usage
Please follow the "Sign in with Microsoft: Branding guidelines for applications": 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>
Optional: With base64 encoded callback uri
This callback uri is used for the redirect.
<a href="/mseid/login/aHR0cHM6Ly93d3cuZm9vYmFyLmNvbS9ncmFudD90b2tlbj1mMWcyZDRmZzFqa2w0NTY0NWtsNjkweGM5ODBjeHY=">Login with MS Entry ID</a>