-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: handle Client Credential OAuth2 authentication method #134
Conversation
ecd6660
to
60ca132
Compare
README.rst
Outdated
@@ -104,12 +104,15 @@ it looks like: | |||
; uncomment following line when writing a script application | |||
; with a single consumer key. | |||
;consumer_key=my_consumer_key | |||
; uncomment to unable oauth2 authentication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
; uncomment to unable oauth2 authentication | |
; uncomment to enable oauth2 authentication |
ovh/client.py
Outdated
``consumer_key`` uniquely identifies your application's end user without | ||
requiring his personal password. | ||
When using OAuth2 authentication, ``client_id`` and ``client_secret`` | ||
will be used to initiate a 2-Legged OAuth2 flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe use client credentials flow
instead of 2-Legged
ovh/oauth2.py
Outdated
self.register_compliance_hook("access_token_response", self.save_error) | ||
self.register_compliance_hook("refresh_token_response", self.save_error) | ||
|
||
# This hijacks the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing end of sentence ?
21aaf1e
to
e4bebb2
Compare
Signed-off-by: Adrien Barreau <[email protected]>
No description provided.