alex_dimov
11/23/2022, 3:01 PMReuben (Matatika)
11/23/2022, 5:07 PMconfig
is an instance (self
) property, not a class (cls
) property so you cannot access it like that. You need to override the auth_endpoint
property in your authenticator class like this: https://github.com/Matatika/tap-auth0/blob/8e3097a3ce4e908c0c8a4db41b28e63f9804c46e/tap_auth0/auth.py#L13-L15Reuben (Matatika)
11/23/2022, 5:09 PMalex_dimov
11/23/2022, 5:40 PMalex_dimov
11/23/2022, 6:33 PMalex_dimov
11/23/2022, 6:34 PMalex_dimov
11/23/2022, 6:37 PMReuben (Matatika)
11/23/2022, 8:02 PMResponse.request
, so you could log that out wherever appropriate.
From that error, it sounds like maybe you've configured your client_id
config as secret
, which will interpret the value as a `SecretString` instance (as opposed to a str
). All you need to do in this case is ensure you are casting the value of client_id
to str
in your auth_headers
and http_headers
implementations, or don't make client_id
a secret
(a client ID probably doesn't need to be anyway).alex_dimov
11/24/2022, 8:01 AMalex_dimov
11/24/2022, 8:13 AMalex_dimov
11/24/2022, 8:39 AMalex_dimov
11/24/2022, 9:13 AMReuben (Matatika)
11/24/2022, 9:15 AMalex_dimov
11/24/2022, 9:16 AMalex_dimov
11/24/2022, 9:18 AMalex_dimov
11/24/2022, 9:35 AM