We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8648a53 commit 68d58f4Copy full SHA for 68d58f4
airbyte_cdk/sources/declarative/auth/jwt.py
@@ -185,7 +185,12 @@ def _get_secret_key(self) -> JwtKeyTypes:
185
186
# Normalize escaped newlines for PEM-style keys
187
# This handles cases where keys are stored with literal \n characters instead of actual newlines
188
- if isinstance(secret_key, str) and "\\n" in secret_key and "-----BEGIN" in secret_key and "KEY-----" in secret_key:
+ if (
189
+ isinstance(secret_key, str)
190
+ and "\\n" in secret_key
191
+ and "-----BEGIN" in secret_key
192
+ and "KEY-----" in secret_key
193
+ ):
194
secret_key = secret_key.replace("\\n", "\n")
195
196
if self._passphrase:
0 commit comments