You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
flowand python-gitlab willobtain an OAuth token for you when instantiated.
88
88
89
89
However, we do not recommend this as it will not work with 2FA enabled, and GitLab is removing
90
-
ROPC-based flows without clientIDs in a future release. We recommend you obtain tokens for
91
-
automated workflows as linked above or obtain a session cookie from your browser.
90
+
ROPC-based flows without clientcredentials in a future release. We recommend you obtain tokens for
91
+
automated workflows.
92
92
93
-
For a python example of password authentication using the ROPC-based OAuth2
94
-
flow, see `this Ansible snippet<https://github.com/ansible-collections/community.general/blob/1c06e237c8100ac30d3941d5a3869a4428ba2974/plugins/module_utils/gitlab.py#L86-L92>`_.