Implement OAuth2 configuration import in PyQGIS API #59957
Labels
Authentication
Related to the QGIS Authentication subsystem or user/password handling
Feature Request
Feature description
Possibility with QGIS Desktop
In the authentication manager of QGIS Desktop, it is possible to import an OAuth2 configuration with a button.
To do this, you need to:
Authentication
tab in the QGIS options window.OAuth2 authentication
type.A window will appear, allowing us to import an
OAuth2 config file
.Requested Features
What I would like is to be able to access this import function directly in the PyQGIS API for plugin development.
This import function comes from the
QgsAuthOAuth2Edit
class, but this class is not available in the PyQGIS API.I'd like to be able to do a few things like this:
Everything is possible in this code except the
setJsonConfig
method.Would it be possible to implement the necessary functionality? 🙏
Thank you in advance!
Additional context
No response
The text was updated successfully, but these errors were encountered: