phpMyFAQ icon indicating copy to clipboard operation
phpMyFAQ copied to clipboard

Azure AD Authentication

Open aschneebergerdk opened this issue 3 years ago • 8 comments

Describe the solution you'd like Enable Authentication with Azure Active Directory (Enterprise App) to simplufy user authentication and enable central user management with probably additional MFA aufthentication (if user by MS Auth)

aschneebergerdk avatar Aug 28 '22 21:08 aschneebergerdk

@aschneebergerdk I have some questions:

  • Do you need single or multi tenant support?
  • Do you need support for personal accounts as well?

thorsten avatar Sep 03 '22 15:09 thorsten

A good description can be found here: https://katystech.blog/projects/php-azuread-oauth-login

thorsten avatar Sep 03 '22 15:09 thorsten

single tenant would be sufficient - we need enterprise application, not basic app registration due to some limitation in conditional controls and the fact that we cannot assign right direct to the app.

aschneebergerdk avatar Sep 05 '22 09:09 aschneebergerdk

@aschneebergerdk I have some working code, but some parts are still missing.

thorsten avatar Sep 10 '22 17:09 thorsten

Login and logout is working, refresh token handling is in the works. Bildschirmfoto 2022-09-10 um 22 15 31

thorsten avatar Sep 10 '22 20:09 thorsten

@aschneebergerdk do you want to test this?

thorsten avatar Sep 17 '22 11:09 thorsten

@thorsten we test this asap... thanks!

aschneebergerdk avatar Sep 21 '22 09:09 aschneebergerdk

@aschneebergerdk just a side note, v3.2 is quite unstable in the frontend

thorsten avatar Sep 24 '22 11:09 thorsten

Question about this. are you able to make a feature that will auto attempt Microsoft login to by-pass the need click "Sign-in with Microsoft" so it would only run with OAuth and not utilize the built-in login form?

Using this as an enterprise app like the other user would be an amazing feature but if i do, I would just want to bypass the internal / built-in login form and only user Azure AD for Authentication.

I understand not everyone would want this but its a nice to have

Thanks

TheArchitectIO avatar Oct 20 '22 16:10 TheArchitectIO

In a later version I can add this feature as well.

thorsten avatar Oct 20 '22 16:10 thorsten