-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
4.8.0 M11
Steps to reproduce bug:
-Configure OpenID Connect authentication
-Select OpenID Connect (automatic discovery)
-Fill in config with credentials
Bug:
The configuration URL is altered.
For some reason, only the root of the url is kept.
Example :
https://fs.XXXXX.fr/adfs becomes https://fs.XXXXX.fr
which generates the following error:
java.io.IOException: Server returned HTTP response code: 503 for URL: [https://fs.XXXXX.fr/.well-known/openid-configuration|https://fs.tarn.fr/.well-known/openid-configuration] at java.base/sun.net.www.protocol.http.HttpURLConnection#getInputStream0:1997 at java.base/sun.net.www.protocol.http.HttpURLConnection#getInputStream:1589 at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl#getInputStream:224 at java.base/java.net.URL#openStream:1161 at org.ametys.plugins.extrausermgt.authentication.oidc.AutoDiscoveringOIDCCredentialProvider#_getProviderMetadata:44 at org.ametys.plugins.extrausermgt.authentication.oidc.AutoDiscoveringOIDCCredentialProvider#initUrisScope:59 at org.ametys.plugins.extrausermgt.authentication.oidc.AbstractOIDCCredentialProvider#init:146 at org.ametys.core.authentication.CredentialProviderFactory#createCredentialProvider:132 at org.ametys.core.user.population.UserPopulationDAO#_getCredentialProviders:892 at org.ametys.core.user.population.UserPopulationDAO#edit:813