Use cases
Deploy Isogeo plugin with a ZIP file
Context
When using the QGIS Isogeo plugin for the first time, the location of the client_secrets.json
file must be specified to perform authentication. The file is then moved to the plugin folder (C:\Users\%userprofile%\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\isogeo_search_engine
for Windows or /home/%userprofile%/.local/share/QGIS/QGIS3/profiles/default/python/plugins/isogeo_search_engine
for Ubuntu). This behavior can make it difficult to deploy the QGIS Isogeo plugin.
Process
Install Isogeo plugin and authenticate by indicating the location of the
client_secrets.json
file provided by Isogeo. The file is moved to the QGIS plugin folder (inC:\Users\%userprofile%\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\isogeo_search_engine\_auth
for Windows or/home/%userprofile%/.local/share/QGIS/QGIS3/profiles/default/python/plugins/isogeo_search_engine/_auth
for Ubuntu).Create a ZIP file from the QGIS plugin folder on the computer used in the first step (
C:\Users\%userprofile%\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\isogeo_search_engine
for Windows or/home/%userprofile%/.local/share/QGIS/QGIS3/profiles/default/python/plugins/isogeo_search_engine
for Ubuntu).This ZIP file contains the file
client_secrets.json
that was moved during the first step.Distribute the created ZIP file to other users who will be able to install the QGIS Isogeo plugin directly from the file
isogeo_search_engine.zip
.For users who install the plugin in this way, authentication will be automatic (without going through the authentication form) because the file
client_secrets.json
will already be present in the plugin folder.