2023-10-10 13:28:03 +02:00
|
|
|
LoadModule auth_openidc_module /usr/lib/apache2/modules/mod_auth_openidc.so
|
|
|
|
|
|
|
|
|
|
|
|
<IfModule auth_openidc_module>
|
|
|
|
OIDCProviderIssuer https://auth.groupe-genes.fr/realms/ensae
|
|
|
|
OIDCProviderAuthorizationEndpoint https://auth.groupe-genes.fr/realms/ensae/protocol/openid-connect/auth
|
|
|
|
OIDCProviderJwksUri https://auth.groupe-genes.fr/realms/ensae/protocol/openid-connect/certs
|
|
|
|
OIDCProviderTokenEndpoint https://auth.groupe-genes.fr/realms/ensae/protocol/openid-connect/token
|
|
|
|
OIDCProviderUserInfoEndpoint https://auth.groupe-genes.fr/realms/ensae/protocol/openid-connect/userinfo
|
|
|
|
OIDCSSLValidateServer On
|
2023-10-10 13:42:41 +02:00
|
|
|
OIDCRedirectURI /oidc_redirect_uri
|
2023-10-10 13:28:03 +02:00
|
|
|
OIDCCryptoPassphrase gfdgfd
|
|
|
|
OIDCClientID ${OIDC_CLIENT}
|
|
|
|
OIDCClientSecret ${OIDC_SECRET}
|
|
|
|
OIDCRemoteUserClaim preferred_username
|
|
|
|
OIDCInfoHook userinfo
|
2024-08-06 09:19:23 +02:00
|
|
|
OIDCCacheShmEntrySizeMax 500000
|
2023-10-10 13:28:03 +02:00
|
|
|
</IfModule>
|
|
|
|
|
2023-10-10 14:15:01 +02:00
|
|
|
SetEnvIf X-Forwarded-Proto "https" HTTPS=on
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-10 13:28:03 +02:00
|
|
|
<Location />
|
|
|
|
AuthType openid-connect
|
|
|
|
Require valid-user
|
|
|
|
</Location>
|