I try to use this guide https://github.com/zmartzone/mod_auth_openidc/wiki/Azure-OAuth-2.0-and-OpenID-Connect
to enable authentification on a directory in Apache.
I have a Running site where SSL/PHP and everything else works.
A part of my .conf file for this site looks now like this.
OIDCScope "openid email"
Options Includes FollowSymLinks
AllowOverride AuthConfig Limit
Allow from all
Then I did service apache2 restart
When I run apachectl configtest I get no error regarding mod_auth_openidc. So I think this module is correctly installed.
But no authentification is enabled on the folder that I would like to protect. Also no error messages appears in webbrowser.
I now have some questions:
I expect an error message when it not works? So it must be something wrong? Or somthing that is not correctly activated?
What is OIDCRedirectURI? Do I need some PHP code for this? Is that not the url that I would like to protect? (https://mysite.com/test2/)
Where can I find app_password for my app in Azure AD? (look attatchment)
Where can I find some_custom_passphrase?
Is that under Keys? (attatchment)
Hopefully some answers here will get me forwards.
Ubuntu 18.04.2 LTS
Office 365 Business with Azure AD