[Geoserver-devel] How can I use postgreSQL to store user information and use it further for authentication and login

Hi,
I’m trying to use an authentication provider using postgres.JDBC.
I’m able to create users that are getting stored in the Database under the user table. Similar to it, groups, roles, etc. are also getting stored in a database. But when I’m trying to use these saved credentials to log in to GeoServer, it is giving me the error. I’m able to login using PostgreSQL’s user credentials (generally it is username - postgres , password - postgres ) but I’m not able to login to GeoServer using user accounts I created from GeoServer GUI.
I’ve set default Role settings to the one point to JDBC roles as well.

Screenshot 2021-02-18 at 4.35.57 PM.png

Screenshot 2021-02-18 at 4.36.36 PM.png

···

Thank you,
Krishna G. Lodha
http://krishnaglodha.com