Hi All,
I'm in the process of integrating Keycloak in the manner described here:
https://docs.geoserver.org/latest/en/user/community/keycloak/index.html
This all works fine, but when I'm getting unexpected results when adding 
further roles to protect individual layers.  Having added the new role in both 
Keycloak and Geoserver, and then a rule to give that role read access to a 
particulat layer, the layer in question *disappears* from the layer preview, 
rather than being the only one available.  The Keycloak user being used to 
login has the role mapped to them, and their name appears in the top-right to 
indicate Geoserver has picked up the identity.
The roles must be getting passed, as the use of ROLE_AUTHENTICATED wouldn't 
work otherwise.  Do I need to add a Role Service, in addition to the Keycloak 
Adapter?

Any help would be much appreciated.
Many thanks,
Andy
Geoserver 2.15.2Keycloak 4.8.13


_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to