I had a similar issue with a general geoserver install. The issue was cors.
Did you set cors correctly in your web host?

Vera

On Fri., Jul. 9, 2021, 1:07 a.m. Bart Zwemmer | GIS Specialisten, <
b...@gisspecialisten.nl> wrote:

> Dear Alessio,
>
>
>
> I tried with an empty cache and a private navigation window, but I keep
> getting the 404 error. Any other suggestions?
>
>
>
> Kind regards,
>
>
>
> Bart Zwemmer | GIS Specialisten
>
>
>
> *From:* Alessio Fabiani <alessio.fabi...@geosolutionsgroup.com>
> *Sent:* Thursday, 8 July 2021 15:42
> *To:* Bart Zwemmer | GIS Specialisten <b...@gisspecialisten.nl>
> *Cc:* geoserver-users@lists.sourceforge.net
> *Subject:* Re: [Geoserver-users] OpenID Connect pluging gives 404 not
> found
>
>
>
> Dear Bart,
>
> I guess it is just an issue of the admin UI session.
>
>
>
> Try maybe to login/logout from a clean browser session and/or login/logout
> from the base GeoServer admin gui URL (you can reach that by clicking over
> the GeoServer logo).
>
>
>
>
>
> On Wed, Jul 7, 2021 at 3:32 PM Bart Zwemmer | GIS Specialisten <
> b...@gisspecialisten.nl> wrote:
>
> Dear Community,
>
>
>
> On a test server I added the OpenID Connect authentication
> <https://docs.geoserver.org/stable/en/user/community/oauth2/index.html#openid-connect-authentication>
> extension. I then added the configuration through the discovery URL of the
> service provider (Azure AD), as can be seen below:
>
> Originally, this gave a redirect url of localhost:8080/Geoserver, but in
> the screenshot I tried already several variations with HTTP and HTTPS.
> Other than that, this is a vanilla install of the latest Geoserver WAR
> (2.18.4) on Tomcat. Everything else seems to be working fine.
>
>
>
> When I try to login through the web interface using the new login button,
> it gives me a 404 error. The same when I try to access the logout URL. As
> far as I can tell, I followed the instructions for the plugin properly
> (first link) as well as the instructions for Azure
> <https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc>.
> I posted the problematic URL below, in case you want to experiment. Being
> an app service on the free Azure plan, I can’t guarantee it’s always up
> though.
>
>
>
>
> https://gs-with-ad.azurewebsites.net/geoserver/web/j_spring_oauth2_openid_connect_login
>
>
>
> ---
>
> Met vriendelijke groet / Kind regards,
>
>
>
> *Bart Zwemmer*
>
> Technical Manager   <https://www.linkedin.com/in/bzwemmer/>
>
>
>
>
>
> *M: +31(0)642 343 911*
>
> *E: b...@gisspecialisten.nl <b...@gisspecialisten.nl>*
>
>
>
> <http://www.gisspecialisten.nl/>
>
>
> Van Deventerlaan 31-51 | 3528 AG Utrecht | +31 (0)85 7 325 825
>
> LinkedIn <https://www.linkedin.com/company/gis-specialisten> | Twitter
> <https://twitter.com/gisspecialisten> | Facebook
> <https://www.facebook.com/gisspecialisten> | Instagram
> <https://www.instagram.com/gisspecialisten/> | YouTube
> <https://www.youtube.com/channel/UCRTK73l_z99sLP9A_-pE1Xw> |
> GeoService.cloud <https://geoservice.cloud/>
>
>
>
> *Disclaimer*
> De informatie in dit e-mailbericht, inclusief eventuele bijlage(s) is
> vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik van
> deze informatie door anderen dan de geadresseerde(n) is niet toegestaan.
> Openbaarmaking, verspreiding en/of verstrekking van deze informatie aan
> derden wordt niet gepermitteerd. Wanneer u dit bericht ten onrechte heeft
> ontvangen, dient u de afzender hiervan per e-mail op de hoogte te brengen
> en dit bericht te verwijderen.
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> --
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax:     +39 0584 1660272
>
> mob:   +39  333 8128928
>
>
>
> https://www.geosolutionsgroup.com/
>
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
> *Disclaimer*
> De informatie in dit e-mailbericht, inclusief eventuele bijlage(s) is
> vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik van
> deze informatie door anderen dan de geadresseerde(n) is niet toegestaan.
> Openbaarmaking, verspreiding en/of verstrekking van deze informatie aan
> derden wordt niet gepermitteerd. Wanneer u dit bericht ten onrechte heeft
> ontvangen, dient u de afzender hiervan per e-mail op de hoogte te brengen
> en dit bericht te verwijderen.
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to