Skip to content

Commit ab8842b

Browse files
committed
chore: remove prints
1 parent 4e5cfb9 commit ab8842b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/auth/src/supabase_auth/_async/gotrue_admin_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def generate_link(self, params: GenerateLinkParams) -> GenerateLinkRespons
9797
},
9898
redirect_to=params.get("options", {}).get("redirect_to"),
9999
)
100-
print(response.content)
100+
101101
return parse_link_response(response)
102102

103103
# User Admin API

src/auth/src/supabase_auth/_async/gotrue_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ async def sign_up(
252252
raise AuthInvalidCredentialsError(
253253
"You must provide either an email or phone number and a password"
254254
)
255-
print(response.content)
255+
256256
auth_response = parse_auth_response(response)
257257
if auth_response.session:
258258
await self._save_session(auth_response.session)
@@ -1217,15 +1217,15 @@ async def get_claims(
12171217
)
12181218

12191219
validate_exp(payload["exp"])
1220-
print(header)
1220+
12211221
# if symmetric algorithm, fallback to get_user
12221222
if "kid" not in header or header["alg"] == "HS256":
12231223
await self.get_user(token)
12241224
return ClaimsResponse(claims=payload, headers=header, signature=signature)
12251225

12261226
algorithm = get_algorithm_by_name(header["alg"])
12271227
jwks = await self._fetch_jwks(header["kid"], jwks or {"keys": []})
1228-
print(jwks)
1228+
12291229
signing_key = algorithm.from_jwk(jwks)
12301230

12311231
# verify the signature

src/auth/src/supabase_auth/_sync/gotrue_admin_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def generate_link(self, params: GenerateLinkParams) -> GenerateLinkResponse:
9797
},
9898
redirect_to=params.get("options", {}).get("redirect_to"),
9999
)
100-
print(response.content)
100+
101101
return parse_link_response(response)
102102

103103
# User Admin API

src/auth/src/supabase_auth/_sync/gotrue_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def sign_up(
252252
raise AuthInvalidCredentialsError(
253253
"You must provide either an email or phone number and a password"
254254
)
255-
print(response.content)
255+
256256
auth_response = parse_auth_response(response)
257257
if auth_response.session:
258258
self._save_session(auth_response.session)
@@ -1211,15 +1211,15 @@ def get_claims(
12111211
)
12121212

12131213
validate_exp(payload["exp"])
1214-
print(header)
1214+
12151215
# if symmetric algorithm, fallback to get_user
12161216
if "kid" not in header or header["alg"] == "HS256":
12171217
self.get_user(token)
12181218
return ClaimsResponse(claims=payload, headers=header, signature=signature)
12191219

12201220
algorithm = get_algorithm_by_name(header["alg"])
12211221
jwks = self._fetch_jwks(header["kid"], jwks or {"keys": []})
1222-
print(jwks)
1222+
12231223
signing_key = algorithm.from_jwk(jwks)
12241224

12251225
# verify the signature

0 commit comments

Comments
 (0)