Alessio Fabiani ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0027cfac-890c-48e1-8af0-974f12f7b9dc
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10672?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 ) GEOS-10672 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10672?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 ) [OIDC] Plugin not able to parse the well known uris and authenticate against 
a Basic auth protected proxy environment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10672?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Components: OAuth2 Created: 23/Sep/22 4:51 
PM Priority: Medium Reporter: Alessio Fabiani ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0027cfac-890c-48e1-8af0-974f12f7b9dc
 )

Whenever the environemnt need a proxy in order to reach the remote endpoints, 
and the latter needs “Basic” auth credentials, the OIDC plugin will always 
prevent any kind of connection with the error:

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy 
Authentication Required"; nested exception is java.io.IOException: Unable to 
tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

Adding the “hostUser” and “hostPassword” to the system environment won’t work 
either.

The only possibility would be to check if those variable are present and 
eventually create an Authenticator accordingly (e.g. see here ( 
https://stackoverflow.com/a/72875447 ) )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10672#add-comment?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10672#add-comment?atlOrigin=eyJpIjoiOTJhY2VlM2ViM2U3NGRiOTk4NjRmZDEzYjliODYyN2IiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- 
sha1:4756b15 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to