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
Probably the base class should get something like get_key_and_secret_basic_auth and it should be used in subclasses. Maybe even there could be a BaseOAuth2 subclass implementing auth_headers this way.
The text was updated successfully, but these errors were encountered:
Expected behaviour
There should be a single place to create HTTP authentication headers from KEY / SECRET.
Actual behaviour
There seem to be at least 7 implementations of this.
What are the steps to reproduce this issue?
Look around the code for code blocks like:
social-core/social_core/backends/chatwork.py
Lines 27 to 31 in 3d95a29
social-core/social_core/backends/beats.py
Lines 24 to 31 in 3d95a29
Any other comments?
Probably the base class should get something like get_key_and_secret_basic_auth and it should be used in subclasses. Maybe even there could be a
BaseOAuth2
subclass implementingauth_headers
this way.The text was updated successfully, but these errors were encountered: