Hi. I building a python source and the auth method...
# replication-troubleshooting
e
Hi. I building a python source and the auth method is oauth2 client credentials method. Oauth2Authenticator is what I need and would love to know where can I get docs about it and what it accepts and how it works. I tried looking in the source file i.e. airbyte_cdk\sources\streams\http\auth but it seems to say deprecated all over. I did find the new classes in requests_native_auth though still not sure which class to use for what I need Thank you.
s
I wasn't able to find docs on the Oauth2authenticator class, however I did see that the SearchMetrics source connector uses it here and wraps some functionality around it. You don't need to import the abstract class, just Oauth2authenticator. Please submit a documentation request to our repo if you can: https://github.com/airbytehq/airbyte/issues/new/choose
1
e
Thank you -this is exactly what I needed