qwc-services / qwc-ogc-service

QWC OGC service
MIT License
3 stars 11 forks source link

Set username as identity #22

Closed jblanchg closed 1 month ago

jblanchg commented 1 month ago

Hi! Since I'm using the "qgis_server_identity_parameter" and now that 'get_identity()' returns a dictionary with the username and _userid, the URL passed to qgis server looks like this: &USER=username&USER=user_id

I solved this using _getusername to set the username as identity directly

manisandro commented 1 month ago

This will potentially break [1] -> [2]. Please move get_username to [3].