Column | ||
---|---|---|
| ||
RequirementsThis integration guide is created using Ubuntu Linux and Apache2. For other Linux distros adjust the instructions accordingly. Prerequisites
IntegrationInstall Connect moduleRun commands:
OpenID Connect configurationEdit auth_openidc.conf with the OIDC configuration parameters. The file location in Ubuntu is mods_available/. For Red Hat the location is conf.d/ OIDCRedirectURI https://testoidc.bpcodedemo.no/secure/redirect_uri OIDCCryptoPassPhrase secretpassphrase12345 OIDCProviderMetadataURL https://auth.code.buypass.no/auth/realms/bpcode/.well-known/openid-configuration OIDCClientID apache-demo OIDCClientSecret clientsecret12345 OIDCScope "openid email profile" OIDCRemoteUserClaim preferred_username Enable the OpenID Connect module with the following command sudo a2enmod auth_openidc Enable OpenID Connect authentication for the website to be secured. This is typically done in the sites-enabled folder. <Directory "/var/www/html"> AuthType openid-connect Require valid-user </Directory> Enable passing of the user identity through http-header with the following command sudo a2enmod headers VerificationTo verify the successful passing of the user identity in the http header, it is possible to create a sample PHP file, e.g. index.php. <html> Remember to install PHP in Apache for successful verification. sudo apt-get install php libapache2-mod-php |
Column | ||
---|---|---|
| ||
Column | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Column | ||
---|---|---|
| ||
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|