I'm new to GeoServer, and I've successfully created WMS layers within GeoServer. These layers are currently accessible in my web application using Leaflet. Now, my goal is to enhance the security of these layers. To achieve this, I've introduced new user accounts and roles in GeoServer, granting access to specific layers based on these roles. Here's where I'm encountering an issue: When I'm logged into GeoServer in one browser, the WMS layers function correctly within my web application. However, if I attempt to access the same layers in a different browser where I'm not logged into GeoServer, I encounter an error. My web application has its authentication system in place.
How can I implement Single Sign-On (SSO) to allow seamless access to these WMS layers, considering my web application's existing authentication system?