From 02f7c05c24c656d079c4be149d98140411445c37 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Mon, 25 Sep 2023 23:03:54 +0800 Subject: [PATCH 1/8] fix: add pkce --- gotrue/_async/gotrue_client.py | 32 ++++++++++++++++++++++++++++++++ gotrue/_sync/gotrue_client.py | 32 ++++++++++++++++++++++++++++++++ gotrue/helpers.py | 29 +++++++++++++++++++++++++++++ gotrue/types.py | 2 ++ 4 files changed, 95 insertions(+) diff --git a/gotrue/_async/gotrue_client.py b/gotrue/_async/gotrue_client.py index 63f5a4f9..8d9233d7 100644 --- a/gotrue/_async/gotrue_client.py +++ b/gotrue/_async/gotrue_client.py @@ -34,6 +34,7 @@ from ..types import ( AuthChangeEvent, AuthenticatorAssuranceLevels, + AuthFlowType, AuthMFAChallengeResponse, AuthMFAEnrollResponse, AuthMFAGetAuthenticatorAssuranceLevelResponse, @@ -77,6 +78,7 @@ def __init__( persist_session: bool = True, storage: Union[AsyncSupportedStorage, None] = None, http_client: Union[AsyncClient, None] = None, + flow_type: AuthFlowType = "implicit", ) -> None: AsyncGoTrueBaseAPI.__init__( self, @@ -92,6 +94,7 @@ def __init__( self._refresh_token_timer: Union[Timer, None] = None self._network_retries = 0 self._state_change_emitters: Dict[str, Subscription] = {} + self._flow_type = flow_type self.admin = AsyncGoTrueAdminAPI( url=self._url, @@ -252,6 +255,7 @@ async def sign_in_with_oauth( Log in an existing user via a third-party provider. """ await self._remove_session() + provider = credentials.get("provider") options = credentials.get("options", {}) redirect_to = options.get("redirect_to") @@ -839,6 +843,16 @@ def _get_url_for_provider( provider: Provider, params: Dict[str, str], ) -> str: + if self.flow_type == "pkce": + code_verifier = generate_pkce_verifier() + code_challenge = generate_pkce_challenge(code_verifier) + self._storage.set_item(f"{self._storage_key}-code-verifier", code_verifier) + code_challenge_method = ( + "plain" if code_verifier == code_challenge else "s256" + ) + params["code_challenge"] = code_challenge + params["code_challenge_method"] = code_challenge_method + params["provider"] = provider query = urlencode(params) return f"{self._url}/authorize?{query}" @@ -848,3 +862,21 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: Decodes a JWT (without performing any validation). """ return decode_jwt_payload(jwt) + + def exchange_code_for_session(auth_code: str): + code_verifier = get_item(f"{self._storage_key}-code-verifier") + response = self._request( + "POST", + "token?grant_type=pkce", + body={ + "auth_code": email, + "code_verifier": code_verifier, + }, + redirect_to=redirect_to, + xform=parse_auth_response, + ) + self._storage.remove_item(f"{self._storage_key}-code-verifier") + if response.session: + self._save_session(response.session) + self._notify_all_subscribers("SIGNED_IN", response.session) + return response diff --git a/gotrue/_sync/gotrue_client.py b/gotrue/_sync/gotrue_client.py index ca909004..115fb4ef 100644 --- a/gotrue/_sync/gotrue_client.py +++ b/gotrue/_sync/gotrue_client.py @@ -34,6 +34,7 @@ from ..types import ( AuthChangeEvent, AuthenticatorAssuranceLevels, + AuthFlowType, AuthMFAChallengeResponse, AuthMFAEnrollResponse, AuthMFAGetAuthenticatorAssuranceLevelResponse, @@ -77,6 +78,7 @@ def __init__( persist_session: bool = True, storage: Union[SyncSupportedStorage, None] = None, http_client: Union[SyncClient, None] = None, + flow_type: AuthFlowType = "implicit", ) -> None: SyncGoTrueBaseAPI.__init__( self, @@ -92,6 +94,7 @@ def __init__( self._refresh_token_timer: Union[Timer, None] = None self._network_retries = 0 self._state_change_emitters: Dict[str, Subscription] = {} + self._flow_type = flow_type self.admin = SyncGoTrueAdminAPI( url=self._url, @@ -252,6 +255,7 @@ def sign_in_with_oauth( Log in an existing user via a third-party provider. """ self._remove_session() + provider = credentials.get("provider") options = credentials.get("options", {}) redirect_to = options.get("redirect_to") @@ -837,6 +841,16 @@ def _get_url_for_provider( provider: Provider, params: Dict[str, str], ) -> str: + if self.flow_type == "pkce": + code_verifier = generate_pkce_verifier() + code_challenge = generate_pkce_challenge(code_verifier) + self._storage.set_item(f"{self._storage_key}-code-verifier", code_verifier) + code_challenge_method = ( + "plain" if code_verifier == code_challenge else "s256" + ) + params["code_challenge"] = code_challenge + params["code_challenge_method"] = code_challenge_method + params["provider"] = provider query = urlencode(params) return f"{self._url}/authorize?{query}" @@ -846,3 +860,21 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: Decodes a JWT (without performing any validation). """ return decode_jwt_payload(jwt) + + def exchange_code_for_session(auth_code: str): + code_verifier = get_item(f"{self._storage_key}-code-verifier") + response = self._request( + "POST", + "token?grant_type=pkce", + body={ + "auth_code": email, + "code_verifier": code_verifier, + }, + redirect_to=redirect_to, + xform=parse_auth_response, + ) + self._storage.remove_item(f"{self._storage_key}-code-verifier") + if response.session: + self._save_session(response.session) + self._notify_all_subscribers("SIGNED_IN", response.session) + return response diff --git a/gotrue/helpers.py b/gotrue/helpers.py index 79fa33c7..5183e1b2 100644 --- a/gotrue/helpers.py +++ b/gotrue/helpers.py @@ -1,5 +1,8 @@ from __future__ import annotations +import base64 +import hashlib +import secrets from base64 import b64decode from json import loads from typing import Any, Dict, Type, TypeVar, Union, cast @@ -124,3 +127,29 @@ def decode_jwt_payload(token: str) -> Any: # binascii.Error: Incorrect padding base64UrlWithPadding = base64Url + "=" * (-len(base64Url) % 4) return loads(b64decode(base64UrlWithPadding).decode("utf-8")) + + +def generate_pkce_verifier(length=64): + """Generate a random PKCE verifier of the specified length.""" + if length < 43 or length > 128: + raise ValueError("PKCE verifier length must be between 43 and 128 characters") + + # Define characters that can be used in the PKCE verifier + charset = string.ascii_letters + string.digits + "-._~" + + # Generate a random PKCE verifier using the secrets module + verifier = "".join(secrets.choice(charset) for _ in range(length)) + + return verifier + + +def generate_pkce_challenge(code_verifier): + """Generate a code challenge from a PKCE verifier.""" + # Hash the verifier using SHA-256 + verifier_bytes = verifier.encode("utf-8") + sha256_hash = hashlib.sha256(verifier_bytes).digest() + + # Encode the hash as URL-safe base64 + base64_encoded = base64.urlsafe_b64encode(sha256_hash).rstrip(b"=").decode("utf-8") + + return base64_encoded diff --git a/gotrue/types.py b/gotrue/types.py index 5000549d..d5f2382c 100644 --- a/gotrue/types.py +++ b/gotrue/types.py @@ -47,6 +47,8 @@ AuthChangeEventMFA = Literal["MFA_CHALLENGE_VERIFIED"] +AuthFlowType = Literal["pkce", "implicit"] + AuthChangeEvent = Literal[ "PASSWORD_RECOVERY", "SIGNED_IN", From af4f842d8fdf59fcef04b853660627b6b24a18a4 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Mon, 25 Sep 2023 15:05:07 +0000 Subject: [PATCH 2/8] 'Refactored by Sourcery' --- gotrue/helpers.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gotrue/helpers.py b/gotrue/helpers.py index 5183e1b2..3a48271f 100644 --- a/gotrue/helpers.py +++ b/gotrue/helpers.py @@ -137,10 +137,7 @@ def generate_pkce_verifier(length=64): # Define characters that can be used in the PKCE verifier charset = string.ascii_letters + string.digits + "-._~" - # Generate a random PKCE verifier using the secrets module - verifier = "".join(secrets.choice(charset) for _ in range(length)) - - return verifier + return "".join(secrets.choice(charset) for _ in range(length)) def generate_pkce_challenge(code_verifier): @@ -149,7 +146,4 @@ def generate_pkce_challenge(code_verifier): verifier_bytes = verifier.encode("utf-8") sha256_hash = hashlib.sha256(verifier_bytes).digest() - # Encode the hash as URL-safe base64 - base64_encoded = base64.urlsafe_b64encode(sha256_hash).rstrip(b"=").decode("utf-8") - - return base64_encoded + return base64.urlsafe_b64encode(sha256_hash).rstrip(b"=").decode("utf-8") From 754c7abe6f30d429d2606a24b3f63667fc96c530 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 07:47:59 +0800 Subject: [PATCH 3/8] fix: run pre-commit --- CHANGELOG.md | 1918 +++++++++++++++++++++++++------------------------- 1 file changed, 959 insertions(+), 959 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50e596fa..5e329d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -742,19 +742,19 @@ Signed-off-by: dependabot[bot] <support@github.com> ([`c6f0b49`](https://g * chore(deps): bump pydantic from 1.10.4 to 1.10.5 (#233) -Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.4 to 1.10.5. -- [Release notes](https://github.com/pydantic/pydantic/releases) -- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.5/HISTORY.md) -- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5) - ---- -updated-dependencies: -- dependency-name: pydantic - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.4 to 1.10.5. +- [Release notes](https://github.com/pydantic/pydantic/releases) +- [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.5/HISTORY.md) +- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5) + +--- +updated-dependencies: +- dependency-name: pydantic + dependency-type: direct:production + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a785e16`](https://github.com/supabase-community/gotrue-py/commit/a785e16c79a76d9a897d58dbc17f370a014038b0)) * chore(deps-dev): bump faker from 16.8.1 to 17.0.0 @@ -1087,21 +1087,21 @@ Signed-off-by: dependabot[bot] <support@github.com> ([`ba7cdc6`](https://g * chore(deps-dev): bump isort from 5.10.1 to 5.11.1 (#195) -Bumps [isort](https://github.com/pycqa/isort) from 5.10.1 to 5.11.1. -- [Release notes](https://github.com/pycqa/isort/releases) -- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) -- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.1) - ---- -updated-dependencies: -- dependency-name: isort - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [isort](https://github.com/pycqa/isort) from 5.10.1 to 5.11.1. +- [Release notes](https://github.com/pycqa/isort/releases) +- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) +- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.1) + +--- +updated-dependencies: +- dependency-name: isort + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`d12d0c5`](https://github.com/supabase-community/gotrue-py/commit/d12d0c57e2111e3e4547a36761bd91749f856205)) * chore(deps-dev): bump black from 22.10.0 to 22.12.0 @@ -1122,76 +1122,76 @@ Signed-off-by: dependabot[bot] <support@github.com> ([`2207e09`](https://g * chore(deps): bump certifi from 2022.6.15 to 2022.12.7 (#192) -Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7. -- [Release notes](https://github.com/certifi/python-certifi/releases) -- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.12.07) - ---- -updated-dependencies: -- dependency-name: certifi - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7. +- [Release notes](https://github.com/certifi/python-certifi/releases) +- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.12.07) + +--- +updated-dependencies: +- dependency-name: certifi + dependency-type: indirect +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`841083e`](https://github.com/supabase-community/gotrue-py/commit/841083e36c7098def95303d3e9eff3a94949b8c7)) * chore(deps-dev): bump pytest-asyncio from 0.20.2 to 0.20.3 (#193) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.2 to 0.20.3. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.2...v0.20.3) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.2 to 0.20.3. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.2...v0.20.3) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`2b8b03a`](https://github.com/supabase-community/gotrue-py/commit/2b8b03ab9c971a08c7e56ff2a41cbf976ce54b2a)) * chore(deps-dev): bump faker from 15.3.3 to 15.3.4 (#191) -Bumps [faker](https://github.com/joke2k/faker) from 15.3.3 to 15.3.4. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v15.3.3...v15.3.4) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [faker](https://github.com/joke2k/faker) from 15.3.3 to 15.3.4. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v15.3.3...v15.3.4) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`5773bf0`](https://github.com/supabase-community/gotrue-py/commit/5773bf0b97bf6fbc2a2adb61175d73941915bfa9)) * chore(deps): bump abatilo/actions-poetry from 2.1.6 to 2.2.0 (#190) -Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.6 to 2.2.0. -- [Release notes](https://github.com/abatilo/actions-poetry/releases) -- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) -- [Commits](https://github.com/abatilo/actions-poetry/compare/v2.1.6...v2.2.0) - ---- -updated-dependencies: -- dependency-name: abatilo/actions-poetry - dependency-type: direct:production - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.6 to 2.2.0. +- [Release notes](https://github.com/abatilo/actions-poetry/releases) +- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) +- [Commits](https://github.com/abatilo/actions-poetry/compare/v2.1.6...v2.2.0) + +--- +updated-dependencies: +- dependency-name: abatilo/actions-poetry + dependency-type: direct:production + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`ad040d1`](https://github.com/supabase-community/gotrue-py/commit/ad040d1428d5419e4a62b993e9946e872ecf5904)) * chore(deps-dev): bump faker from 15.3.2 to 15.3.3 (#189) @@ -1215,117 +1215,117 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps): bump httpx from 0.23.0 to 0.23.1 (#188) -Bumps [httpx](https://github.com/encode/httpx) from 0.23.0 to 0.23.1. -- [Release notes](https://github.com/encode/httpx/releases) -- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) -- [Commits](https://github.com/encode/httpx/compare/0.23.0...0.23.1) - ---- -updated-dependencies: -- dependency-name: httpx - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [httpx](https://github.com/encode/httpx) from 0.23.0 to 0.23.1. +- [Release notes](https://github.com/encode/httpx/releases) +- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) +- [Commits](https://github.com/encode/httpx/compare/0.23.0...0.23.1) + +--- +updated-dependencies: +- dependency-name: httpx + dependency-type: direct:production + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`dd04ad2`](https://github.com/supabase-community/gotrue-py/commit/dd04ad2eff2da019f65b1a37119d6f612fc4e5e4)) * chore(deps-dev): bump faker from 15.3.1 to 15.3.2 (#186) -Bumps [faker](https://github.com/joke2k/faker) from 15.3.1 to 15.3.2. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v15.3.1...v15.3.2) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [faker](https://github.com/joke2k/faker) from 15.3.1 to 15.3.2. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v15.3.1...v15.3.2) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`8d75f1c`](https://github.com/supabase-community/gotrue-py/commit/8d75f1cee71f74349a90922b945a82343f68963b)) * chore(deps): bump cryptography from 37.0.4 to 38.0.3 (#185) -Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.4 to 38.0.3. -- [Release notes](https://github.com/pyca/cryptography/releases) -- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) -- [Commits](https://github.com/pyca/cryptography/compare/37.0.4...38.0.3) - ---- -updated-dependencies: -- dependency-name: cryptography - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.4 to 38.0.3. +- [Release notes](https://github.com/pyca/cryptography/releases) +- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) +- [Commits](https://github.com/pyca/cryptography/compare/37.0.4...38.0.3) + +--- +updated-dependencies: +- dependency-name: cryptography + dependency-type: indirect +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`6e0df2f`](https://github.com/supabase-community/gotrue-py/commit/6e0df2f2c357aef1d1384604d7012704a447217a)) * chore(deps-dev): bump pytest-asyncio from 0.20.1 to 0.20.2 (#184) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.1 to 0.20.2. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.1...v0.20.2) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.1 to 0.20.2. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.1...v0.20.2) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`bebb22f`](https://github.com/supabase-community/gotrue-py/commit/bebb22fe7b5ef2862388916e873b6db17dcb41f3)) * chore(deps-dev): bump faker from 15.1.3 to 15.3.1 (#183) -Bumps [faker](https://github.com/joke2k/faker) from 15.1.3 to 15.3.1. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v15.1.3...v15.3.1) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [faker](https://github.com/joke2k/faker) from 15.1.3 to 15.3.1. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v15.1.3...v15.3.1) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`ae2043a`](https://github.com/supabase-community/gotrue-py/commit/ae2043ad8a0e1f1f0b4e2e7fd173f8277e15db6a)) * chore: update lock ([`9dd42b4`](https://github.com/supabase-community/gotrue-py/commit/9dd42b4c516879e208ca2d15d5934d682f9e4481)) * chore(deps-dev): bump faker from 15.1.1 to 15.1.3 (#182) -Bumps [faker](https://github.com/joke2k/faker) from 15.1.1 to 15.1.3. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v15.1.1...v15.1.3) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [faker](https://github.com/joke2k/faker) from 15.1.1 to 15.1.3. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v15.1.1...v15.1.3) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`2c15513`](https://github.com/supabase-community/gotrue-py/commit/2c15513f5986ff27448eba04e4c8e75140e96441)) * chore: gen sync files ([`01385ea`](https://github.com/supabase-community/gotrue-py/commit/01385eac0c0ae79ae583b4ade84ab985f5933d20)) @@ -1355,21 +1355,21 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump python-semantic-release from 7.32.1 to 7.32.2 (#177) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.32.1 to 7.32.2. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.32.1...v7.32.2) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.32.1 to 7.32.2. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.32.1...v7.32.2) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`5aae844`](https://github.com/supabase-community/gotrue-py/commit/5aae8441185febd2db0439d486735e3724e3b437)) * chore(deps-dev): bump pytest-asyncio from 0.19.0 to 0.20.1 @@ -1450,21 +1450,21 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0 (#168) -Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.0.0. -- [Release notes](https://github.com/pytest-dev/pytest-cov/releases) -- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0) - ---- -updated-dependencies: -- dependency-name: pytest-cov - dependency-type: direct:development - update-type: version-update:semver-major -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.0.0. +- [Release notes](https://github.com/pytest-dev/pytest-cov/releases) +- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0) + +--- +updated-dependencies: +- dependency-name: pytest-cov + dependency-type: direct:development + update-type: version-update:semver-major +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`57ae3b3`](https://github.com/supabase-community/gotrue-py/commit/57ae3b33c925252fd2ec2faa2efbc911434393fa)) * chore(deps-dev): bump faker from 14.2.1 to 15.0.0 (#167) @@ -1542,78 +1542,78 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump pytest from 7.1.2 to 7.1.3 (#161) -Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.2 to 7.1.3. -- [Release notes](https://github.com/pytest-dev/pytest/releases) -- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.1.3) - ---- -updated-dependencies: -- dependency-name: pytest - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.2 to 7.1.3. +- [Release notes](https://github.com/pytest-dev/pytest/releases) +- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.1.3) + +--- +updated-dependencies: +- dependency-name: pytest + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`b93c9d7`](https://github.com/supabase-community/gotrue-py/commit/b93c9d7d3f3f52f60effe5ffd17bfa400d46cd3c)) * chore(deps-dev): bump black from 22.6.0 to 22.8.0 (#159) -Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.0. -- [Release notes](https://github.com/psf/black/releases) -- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) -- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0) - ---- -updated-dependencies: -- dependency-name: black - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.0. +- [Release notes](https://github.com/psf/black/releases) +- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) +- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0) + +--- +updated-dependencies: +- dependency-name: black + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`b552dea`](https://github.com/supabase-community/gotrue-py/commit/b552dea77b8d8cc058d6ba856f37f0f1d26d3480)) * chore(deps-dev): bump faker from 14.1.1 to 14.2.0 (#158) -Bumps [faker](https://github.com/joke2k/faker) from 14.1.1 to 14.2.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v14.1.1...v14.2.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [faker](https://github.com/joke2k/faker) from 14.1.1 to 14.2.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v14.1.1...v14.2.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`214353e`](https://github.com/supabase-community/gotrue-py/commit/214353e69e8da96ee628e87deac7c7f856e85c03)) * chore(deps): bump pydantic from 1.10.0 to 1.10.1 (#160) -Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.0 to 1.10.1. -- [Release notes](https://github.com/pydantic/pydantic/releases) -- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) -- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.0...v1.10.1) - ---- -updated-dependencies: -- dependency-name: pydantic - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.0 to 1.10.1. +- [Release notes](https://github.com/pydantic/pydantic/releases) +- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) +- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.0...v1.10.1) + +--- +updated-dependencies: +- dependency-name: pydantic + dependency-type: direct:production + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a322dce`](https://github.com/supabase-community/gotrue-py/commit/a322dce65f54de8a98d54c02dce0a12fdd5201c2)) * chore: update dependencies ([`6b15a50`](https://github.com/supabase-community/gotrue-py/commit/6b15a50466f82b87aae67823e08770c25cb352f6)) @@ -1821,81 +1821,22 @@ chore(deps-dev): bump faker from 14.2.0 to 14.2.1 ([`7c5a665`](https://github.co * chore: setup version 0.5.4 for new release (#157) -* chore: setup version 0.5.4 for new release - -* chore: update version of __init__.py - -* chore: update changelog ([`d559e2d`](https://github.com/supabase-community/gotrue-py/commit/d559e2dedfbadde1e604087d8677cdb8aa63d7d6)) - -* chore(deps-dev): bump faker from 14.1.0 to 14.1.1 (#154) - -Bumps [faker](https://github.com/joke2k/faker) from 14.1.0 to 14.1.1. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v14.1.0...v14.1.1) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`272ad56`](https://github.com/supabase-community/gotrue-py/commit/272ad56d212ed37b6a6a60c8ce2c6613d2cb9ec1)) - -* chore(deps): bump pydantic from 1.9.2 to 1.10.0 (#153) - -Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.9.2 to 1.10.0. -- [Release notes](https://github.com/pydantic/pydantic/releases) -- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) -- [Commits](https://github.com/pydantic/pydantic/compare/v1.9.2...v1.10.0) - ---- -updated-dependencies: -- dependency-name: pydantic - dependency-type: direct:production - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`913e014`](https://github.com/supabase-community/gotrue-py/commit/913e0142d92cf4c77e42624314577d5e29deed69)) - -* chore(deps): bump abatilo/actions-poetry from 2.1.5 to 2.1.6 (#152) +* chore: setup version 0.5.4 for new release -Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.5 to 2.1.6. -- [Release notes](https://github.com/abatilo/actions-poetry/releases) -- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) -- [Commits](https://github.com/abatilo/actions-poetry/compare/v2.1.5...v2.1.6) - ---- -updated-dependencies: -- dependency-name: abatilo/actions-poetry - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`62311f3`](https://github.com/supabase-community/gotrue-py/commit/62311f3598fb57f2559483f175fb2ff8b4c0f154)) +* chore: update version of __init__.py -* chore: add github action ecosystem to dependabot ([`76d9114`](https://github.com/supabase-community/gotrue-py/commit/76d91148e9e9bac13e3f771a9f09a98fbd9986b9)) +* chore: update changelog ([`d559e2d`](https://github.com/supabase-community/gotrue-py/commit/d559e2dedfbadde1e604087d8677cdb8aa63d7d6)) -* chore(deps-dev): bump python-semantic-release from 7.31.3 to 7.31.4 (#151) +* chore(deps-dev): bump faker from 14.1.0 to 14.1.1 (#154) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.3 to 7.31.4. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.3...v7.31.4) +Bumps [faker](https://github.com/joke2k/faker) from 14.1.0 to 14.1.1. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v14.1.0...v14.1.1) --- updated-dependencies: -- dependency-name: python-semantic-release +- dependency-name: faker dependency-type: direct:development update-type: version-update:semver-patch ... @@ -1903,28 +1844,87 @@ updated-dependencies: Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`62adb59`](https://github.com/supabase-community/gotrue-py/commit/62adb5918229335af6998ebe4084f6ed0b56cd3d)) - -* chore(deps-dev): bump python-semantic-release from 7.31.2 to 7.31.3 (#150) +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`272ad56`](https://github.com/supabase-community/gotrue-py/commit/272ad56d212ed37b6a6a60c8ce2c6613d2cb9ec1)) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.2 to 7.31.3. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.2...v7.31.3) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a9c110d`](https://github.com/supabase-community/gotrue-py/commit/a9c110d37f7c6f732681e0a15676dfc0ac3c9af8)) +* chore(deps): bump pydantic from 1.9.2 to 1.10.0 (#153) -* chore: change made by pyupgrade pre-commit ([`68ed829`](https://github.com/supabase-community/gotrue-py/commit/68ed829b33db91a95ef5fef28b344f84f1ecaccd)) +Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.9.2 to 1.10.0. +- [Release notes](https://github.com/pydantic/pydantic/releases) +- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) +- [Commits](https://github.com/pydantic/pydantic/compare/v1.9.2...v1.10.0) + +--- +updated-dependencies: +- dependency-name: pydantic + dependency-type: direct:production + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`913e014`](https://github.com/supabase-community/gotrue-py/commit/913e0142d92cf4c77e42624314577d5e29deed69)) + +* chore(deps): bump abatilo/actions-poetry from 2.1.5 to 2.1.6 (#152) + +Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 2.1.5 to 2.1.6. +- [Release notes](https://github.com/abatilo/actions-poetry/releases) +- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc) +- [Commits](https://github.com/abatilo/actions-poetry/compare/v2.1.5...v2.1.6) + +--- +updated-dependencies: +- dependency-name: abatilo/actions-poetry + dependency-type: direct:production + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`62311f3`](https://github.com/supabase-community/gotrue-py/commit/62311f3598fb57f2559483f175fb2ff8b4c0f154)) + +* chore: add github action ecosystem to dependabot ([`76d9114`](https://github.com/supabase-community/gotrue-py/commit/76d91148e9e9bac13e3f771a9f09a98fbd9986b9)) + +* chore(deps-dev): bump python-semantic-release from 7.31.3 to 7.31.4 (#151) + +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.3 to 7.31.4. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.3...v7.31.4) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`62adb59`](https://github.com/supabase-community/gotrue-py/commit/62adb5918229335af6998ebe4084f6ed0b56cd3d)) + +* chore(deps-dev): bump python-semantic-release from 7.31.2 to 7.31.3 (#150) + +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.2 to 7.31.3. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.2...v7.31.3) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a9c110d`](https://github.com/supabase-community/gotrue-py/commit/a9c110d37f7c6f732681e0a15676dfc0ac3c9af8)) + +* chore: change made by pyupgrade pre-commit ([`68ed829`](https://github.com/supabase-community/gotrue-py/commit/68ed829b33db91a95ef5fef28b344f84f1ecaccd)) * chore: add sourcery config file ([`5be3c33`](https://github.com/supabase-community/gotrue-py/commit/5be3c335822c7963b95dbce98db6ae4d5ae24d1c)) @@ -1972,21 +1972,21 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps): bump pydantic from 1.9.1 to 1.9.2 (#145) -Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.9.1 to 1.9.2. -- [Release notes](https://github.com/samuelcolvin/pydantic/releases) -- [Changelog](https://github.com/pydantic/pydantic/blob/v1.9.2/HISTORY.md) -- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.1...v1.9.2) - ---- -updated-dependencies: -- dependency-name: pydantic - dependency-type: direct:production - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.9.1 to 1.9.2. +- [Release notes](https://github.com/samuelcolvin/pydantic/releases) +- [Changelog](https://github.com/pydantic/pydantic/blob/v1.9.2/HISTORY.md) +- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.1...v1.9.2) + +--- +updated-dependencies: +- dependency-name: pydantic + dependency-type: direct:production + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`db929b4`](https://github.com/supabase-community/gotrue-py/commit/db929b4f91846f83e7a72c8d32d455c533e79d14)) * chore(deps-dev): bump flake8 from 5.0.3 to 5.0.4 (#144) @@ -2008,128 +2008,128 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump flake8 from 5.0.1 to 5.0.3 (#143) -Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.1 to 5.0.3. -- [Release notes](https://github.com/pycqa/flake8/releases) -- [Commits](https://github.com/pycqa/flake8/compare/5.0.1...5.0.3) - ---- -updated-dependencies: -- dependency-name: flake8 - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.1 to 5.0.3. +- [Release notes](https://github.com/pycqa/flake8/releases) +- [Commits](https://github.com/pycqa/flake8/compare/5.0.1...5.0.3) + +--- +updated-dependencies: +- dependency-name: flake8 + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`d84e005`](https://github.com/supabase-community/gotrue-py/commit/d84e005173014ceaa09be9106e83145f5770da64)) * chore(deps-dev): bump python-semantic-release from 7.31.1 to 7.31.2 (#141) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.1 to 7.31.2. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.1...v7.31.2) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.31.1 to 7.31.2. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.31.1...v7.31.2) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`b08ccf7`](https://github.com/supabase-community/gotrue-py/commit/b08ccf7fd2394735964b0aca9f90d474c7b0e50d)) * chore(deps-dev): bump flake8 from 4.0.1 to 5.0.1 (#142) -Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.1. -- [Release notes](https://github.com/pycqa/flake8/releases) -- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.1) - ---- -updated-dependencies: -- dependency-name: flake8 - dependency-type: direct:development - update-type: version-update:semver-major -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.1. +- [Release notes](https://github.com/pycqa/flake8/releases) +- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.1) + +--- +updated-dependencies: +- dependency-name: flake8 + dependency-type: direct:development + update-type: version-update:semver-major +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`4c62d77`](https://github.com/supabase-community/gotrue-py/commit/4c62d77da0f1c281c24aabb0a90acc87861c1825)) * chore(deps-dev): bump python-semantic-release from 7.30.2 to 7.31.1 (#140) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.30.2 to 7.31.1. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.30.2...v7.31.1) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.30.2 to 7.31.1. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.30.2...v7.31.1) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`8aba5b5`](https://github.com/supabase-community/gotrue-py/commit/8aba5b56d0e7177d3edbb2ee1535592eb05ffbb6)) * chore: upgrade pytest-asyncio ([`1fc2fa9`](https://github.com/supabase-community/gotrue-py/commit/1fc2fa968851c42947f9733f1ad7a169d475be2c)) * chore(deps-dev): bump python-semantic-release from 7.30.1 to 7.30.2 (#139) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.30.1 to 7.30.2. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.30.1...v7.30.2) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.30.1 to 7.30.2. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.30.1...v7.30.2) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`93aa22b`](https://github.com/supabase-community/gotrue-py/commit/93aa22b9d4de65ad10983d7254076048b926b265)) * chore(deps-dev): bump python-semantic-release from 7.29.7 to 7.30.1 (#138) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.29.7 to 7.30.1. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.29.7...v7.30.1) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.29.7 to 7.30.1. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.29.7...v7.30.1) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`4e464eb`](https://github.com/supabase-community/gotrue-py/commit/4e464eb16737cf77d24de95185d6ac772b14f178)) * chore(deps-dev): bump faker from 13.15.0 to 13.15.1 (#136) -Bumps [faker](https://github.com/joke2k/faker) from 13.15.0 to 13.15.1. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.15.0...v13.15.1) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.15.0 to 13.15.1. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.15.0...v13.15.1) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`606f158`](https://github.com/supabase-community/gotrue-py/commit/606f158cbe900165757bae2d8624dc5c90d8b533)) * chore(deps-dev): bump python-semantic-release from 7.29.5 to 7.29.7 (#137) @@ -2171,20 +2171,20 @@ Co-authored-by: Sourcery AI <> ([`07f897e`](https://github.com/supabase-co * chore(deps-dev): bump python-semantic-release from 7.29.4 to 7.29.5 (#131) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.29.4 to 7.29.5. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.29.4...v7.29.5) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.29.4 to 7.29.5. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.29.4...v7.29.5) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`c506308`](https://github.com/supabase-community/gotrue-py/commit/c506308603ebaca0a54d6ab4517f0116cb7f07b9)) ### Fix @@ -2222,41 +2222,41 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump faker from 13.14.0 to 13.15.0 (#127) -Bumps [faker](https://github.com/joke2k/faker) from 13.14.0 to 13.15.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.14.0...v13.15.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.14.0 to 13.15.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.14.0...v13.15.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`0f2e0e5`](https://github.com/supabase-community/gotrue-py/commit/0f2e0e51cf3356c84a1a9cf87f435688b69a315c)) ### Feature * feat: change `.update` method to also allow dictionaries (#130) -* Allow users to send a dict instead of UserAttributes model - -* Add tests - -* Check Python version before trying to import TypedDict - -* Remove `TypedDict` from the main `typing` import - -* Change format - -* Change format of types - -* 'Refactored by Sourcery' - -Co-authored-by: odiseo0 <pedro.esserweb@gmail.com> +* Allow users to send a dict instead of UserAttributes model + +* Add tests + +* Check Python version before trying to import TypedDict + +* Remove `TypedDict` from the main `typing` import + +* Change format + +* Change format of types + +* 'Refactored by Sourcery' + +Co-authored-by: odiseo0 <pedro.esserweb@gmail.com> Co-authored-by: Sourcery AI <> ([`df3f69e`](https://github.com/supabase-community/gotrue-py/commit/df3f69ea18599a651715271d546b684555933286)) @@ -2270,128 +2270,128 @@ Co-authored-by: Sourcery AI <> ([`df3f69e`](https://github.com/supabase-co * chore(deps-dev): bump python-semantic-release from 7.28.0 to 7.28.1 (#110) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.28.0 to 7.28.1. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.28.0...v7.28.1) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.28.0 to 7.28.1. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.28.0...v7.28.1) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`8a19b39`](https://github.com/supabase-community/gotrue-py/commit/8a19b3941d4a0eb06e5f2d3479a3c99b3cced0fd)) * chore(deps-dev): bump pre-commit from 2.17.0 to 2.18.1 (#107) -Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1. -- [Release notes](https://github.com/pre-commit/pre-commit/releases) -- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) -- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.17.0...v2.18.1) - ---- -updated-dependencies: -- dependency-name: pre-commit - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1. +- [Release notes](https://github.com/pre-commit/pre-commit/releases) +- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) +- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.17.0...v2.18.1) + +--- +updated-dependencies: +- dependency-name: pre-commit + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`d0abb73`](https://github.com/supabase-community/gotrue-py/commit/d0abb73ccccc0eefbd0dfcea95766bb29ae96be7)) * chore(deps-dev): bump black from 22.1.0 to 22.3.0 (#105) -Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0. -- [Release notes](https://github.com/psf/black/releases) -- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) -- [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0) - ---- -updated-dependencies: -- dependency-name: black - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0. +- [Release notes](https://github.com/psf/black/releases) +- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) +- [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0) + +--- +updated-dependencies: +- dependency-name: black + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`d2e6761`](https://github.com/supabase-community/gotrue-py/commit/d2e676150b2a5d72bf9464bfb44442401f452605)) * chore(deps-dev): bump faker from 13.3.3 to 13.3.4 (#106) -Bumps [faker](https://github.com/joke2k/faker) from 13.3.3 to 13.3.4. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.3.3...v13.3.4) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.3.3 to 13.3.4. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.3.3...v13.3.4) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a309526`](https://github.com/supabase-community/gotrue-py/commit/a309526dc6302a791b780476b12428d8ad1d7781)) * chore(deps-dev): bump python-semantic-release from 7.27.0 to 7.28.0 (#109) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.27.0 to 7.28.0. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.27.0...v7.28.0) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.27.0 to 7.28.0. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.27.0...v7.28.0) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`8042862`](https://github.com/supabase-community/gotrue-py/commit/804286224c86a45163f722aae42ac18deb05293e)) * chore(deps-dev): bump pytest-asyncio from 0.18.2 to 0.18.3 (#104) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.2 to 0.18.3. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.2...v0.18.3) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.2 to 0.18.3. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.2...v0.18.3) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`270bd1e`](https://github.com/supabase-community/gotrue-py/commit/270bd1e6b267f36a3b944ba3588bbc7d48feb09c)) * chore(deps-dev): bump faker from 13.3.2 to 13.3.3 (#103) -Bumps [faker](https://github.com/joke2k/faker) from 13.3.2 to 13.3.3. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.3.2...v13.3.3) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.3.2 to 13.3.3. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.3.2...v13.3.3) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`bea6573`](https://github.com/supabase-community/gotrue-py/commit/bea65739c558e25a842c2b399d413724a00cd113)) * chore(deps-dev): bump pytest from 7.1.0 to 7.1.1 (#102) @@ -2414,38 +2414,38 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump python-semantic-release from 7.26.0 to 7.27.0 (#101) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.26.0 to 7.27.0. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.26.0...v7.27.0) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.26.0 to 7.27.0. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.26.0...v7.27.0) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`3bfe980`](https://github.com/supabase-community/gotrue-py/commit/3bfe980ffb6b743fab101a981695ecb10196d9a8)) * chore(deps-dev): bump faker from 13.3.1 to 13.3.2 (#100) -Bumps [faker](https://github.com/joke2k/faker) from 13.3.1 to 13.3.2. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.3.1...v13.3.2) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.3.1 to 13.3.2. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.3.1...v13.3.2) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`feb9bc6`](https://github.com/supabase-community/gotrue-py/commit/feb9bc6938f1995299fb88c0a085f795f0440e1f)) * chore(deps-dev): bump pytest from 7.0.1 to 7.1.0 @@ -2462,59 +2462,59 @@ updated-dependencies: update-type: version-update:semver-minor ... -Signed-off-by: dependabot[bot] <support@github.com> ([`c8181d2`](https://github.com/supabase-community/gotrue-py/commit/c8181d2bc6076599611b9e17203c81d8650584c3)) - -* chore(deps-dev): bump python-semantic-release from 7.25.2 to 7.26.0 (#98) +Signed-off-by: dependabot[bot] <support@github.com> ([`c8181d2`](https://github.com/supabase-community/gotrue-py/commit/c8181d2bc6076599611b9e17203c81d8650584c3)) + +* chore(deps-dev): bump python-semantic-release from 7.25.2 to 7.26.0 (#98) + +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.2 to 7.26.0. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.2...v7.26.0) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.2 to 7.26.0. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.2...v7.26.0) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`aaddf78`](https://github.com/supabase-community/gotrue-py/commit/aaddf78696aa599264a0dd665458ec491cc57c32)) * chore(deps-dev): bump faker from 13.3.0 to 13.3.1 (#97) -Bumps [faker](https://github.com/joke2k/faker) from 13.3.0 to 13.3.1. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.3.0...v13.3.1) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.3.0 to 13.3.1. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.3.0...v13.3.1) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`26428de`](https://github.com/supabase-community/gotrue-py/commit/26428de8aa1c1202adc65ca4e1c4687fd62badf5)) * chore(deps-dev): bump pytest-asyncio from 0.18.1 to 0.18.2 (#96) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.1 to 0.18.2. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.1...v0.18.2) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.1 to 0.18.2. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.1...v0.18.2) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`6e7b257`](https://github.com/supabase-community/gotrue-py/commit/6e7b257023497e6fecd79d396cfc106762f4785c)) * chore(deps-dev): bump faker from 13.2.0 to 13.3.0 (#95) @@ -2537,56 +2537,56 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump python-semantic-release from 7.25.1 to 7.25.2 (#94) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.1 to 7.25.2. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.1...v7.25.2) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.1 to 7.25.2. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.1...v7.25.2) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`3273350`](https://github.com/supabase-community/gotrue-py/commit/327335056f1c82684019436aafde129573bc91a8)) * chore(deps-dev): bump python-semantic-release from 7.25.0 to 7.25.1 (#93) -Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.0 to 7.25.1. -- [Release notes](https://github.com/relekang/python-semantic-release/releases) -- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) -- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.0...v7.25.1) - ---- -updated-dependencies: -- dependency-name: python-semantic-release - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [python-semantic-release](https://github.com/relekang/python-semantic-release) from 7.25.0 to 7.25.1. +- [Release notes](https://github.com/relekang/python-semantic-release/releases) +- [Changelog](https://github.com/relekang/python-semantic-release/blob/master/CHANGELOG.md) +- [Commits](https://github.com/relekang/python-semantic-release/compare/v7.25.0...v7.25.1) + +--- +updated-dependencies: +- dependency-name: python-semantic-release + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`c2e54a6`](https://github.com/supabase-community/gotrue-py/commit/c2e54a698de49581c6e72dea1f918b4745cd67dc)) * chore(deps-dev): bump faker from 13.0.0 to 13.2.0 (#92) -Bumps [faker](https://github.com/joke2k/faker) from 13.0.0 to 13.2.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v13.0.0...v13.2.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 13.0.0 to 13.2.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v13.0.0...v13.2.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`e0156bc`](https://github.com/supabase-community/gotrue-py/commit/e0156bc214d1bcd5229f83190e084c1b8b1cf551)) * chore(deps-dev): bump python-semantic-release from 7.24.0 to 7.25.0 (#91) @@ -2609,198 +2609,198 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore(deps-dev): bump faker from 12.3.3 to 13.0.0 (#90) -Bumps [faker](https://github.com/joke2k/faker) from 12.3.3 to 13.0.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v12.3.3...v13.0.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-major -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 12.3.3 to 13.0.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v12.3.3...v13.0.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-major +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`ff1653e`](https://github.com/supabase-community/gotrue-py/commit/ff1653eb9ab98b99e6200d3bfbea7a36dbadf079)) * chore(deps-dev): bump faker from 12.3.0 to 12.3.3 (#89) -Bumps [faker](https://github.com/joke2k/faker) from 12.3.0 to 12.3.3. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v12.3.0...v12.3.3) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 12.3.0 to 12.3.3. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v12.3.0...v12.3.3) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`da7c173`](https://github.com/supabase-community/gotrue-py/commit/da7c173353b683bd682b8f84325d47b9a2818b6c)) * chore(deps-dev): bump pytest from 7.0.0 to 7.0.1 (#88) -Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.0 to 7.0.1. -- [Release notes](https://github.com/pytest-dev/pytest/releases) -- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.0...7.0.1) - ---- -updated-dependencies: -- dependency-name: pytest - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.0 to 7.0.1. +- [Release notes](https://github.com/pytest-dev/pytest/releases) +- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.0...7.0.1) + +--- +updated-dependencies: +- dependency-name: pytest + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`ec198b0`](https://github.com/supabase-community/gotrue-py/commit/ec198b07e200cfd98c8e7f8e3e946a1bcd3cbf97)) * chore(deps-dev): bump faker from 12.2.0 to 12.3.0 (#87) -Bumps [faker](https://github.com/joke2k/faker) from 12.2.0 to 12.3.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v12.2.0...v12.3.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 12.2.0 to 12.3.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v12.2.0...v12.3.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`3addee0`](https://github.com/supabase-community/gotrue-py/commit/3addee0a7b9f4af834f11bab86b7dc4480f6635c)) * chore(deps-dev): bump pytest-asyncio from 0.17.2 to 0.18.1 (#86) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.2 to 0.18.1. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.2...v0.18.1) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.2 to 0.18.1. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.2...v0.18.1) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`f14e19d`](https://github.com/supabase-community/gotrue-py/commit/f14e19d1a31a1f61fd192f48d68684f591f08a02)) * chore(deps-dev): bump faker from 12.1.0 to 12.2.0 (#85) -Bumps [faker](https://github.com/joke2k/faker) from 12.1.0 to 12.2.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v12.1.0...v12.2.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 12.1.0 to 12.2.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v12.1.0...v12.2.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`df71a96`](https://github.com/supabase-community/gotrue-py/commit/df71a964f56172a4fd6292defc76f52a812f8a88)) * chore(deps-dev): bump faker from 12.0.0 to 12.1.0 (#83) -Bumps [faker](https://github.com/joke2k/faker) from 12.0.0 to 12.1.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v12.0.0...v12.1.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 12.0.0 to 12.1.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v12.0.0...v12.1.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`809b75d`](https://github.com/supabase-community/gotrue-py/commit/809b75d2c02b489e7b4a2fe4c7944343b97a6912)) * chore(deps-dev): bump pytest from 6.2.5 to 7.0.0 (#82) -Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.0. -- [Release notes](https://github.com/pytest-dev/pytest/releases) -- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) -- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.0) - ---- -updated-dependencies: -- dependency-name: pytest - dependency-type: direct:development - update-type: version-update:semver-major -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.0. +- [Release notes](https://github.com/pytest-dev/pytest/releases) +- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) +- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.0) + +--- +updated-dependencies: +- dependency-name: pytest + dependency-type: direct:development + update-type: version-update:semver-major +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`7a749ac`](https://github.com/supabase-community/gotrue-py/commit/7a749ac3227ba0825a211dd85503e81a89f9708b)) * chore(deps-dev): bump faker from 11.3.0 to 12.0.0 (#81) -Bumps [faker](https://github.com/joke2k/faker) from 11.3.0 to 12.0.0. -- [Release notes](https://github.com/joke2k/faker/releases) -- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) -- [Commits](https://github.com/joke2k/faker/compare/v11.3.0...v12.0.0) - ---- -updated-dependencies: -- dependency-name: faker - dependency-type: direct:development - update-type: version-update:semver-major -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [faker](https://github.com/joke2k/faker) from 11.3.0 to 12.0.0. +- [Release notes](https://github.com/joke2k/faker/releases) +- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) +- [Commits](https://github.com/joke2k/faker/compare/v11.3.0...v12.0.0) + +--- +updated-dependencies: +- dependency-name: faker + dependency-type: direct:development + update-type: version-update:semver-major +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`f54751a`](https://github.com/supabase-community/gotrue-py/commit/f54751a7baba7dd250d16193efd4eb7522454cf1)) * chore(deps-dev): bump black from 21.12b0 to 22.1.0 (#80) -Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. -- [Release notes](https://github.com/psf/black/releases) -- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) -- [Commits](https://github.com/psf/black/commits/22.1.0) - ---- -updated-dependencies: -- dependency-name: black - dependency-type: direct:development -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. +- [Release notes](https://github.com/psf/black/releases) +- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) +- [Commits](https://github.com/psf/black/commits/22.1.0) + +--- +updated-dependencies: +- dependency-name: black + dependency-type: direct:development +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a284212`](https://github.com/supabase-community/gotrue-py/commit/a28421291f145c11cbc36c6a2c46c86803a7e848)) * chore(deps): bump httpx from 0.21.3 to 0.22.0 (#79) -Bumps [httpx](https://github.com/encode/httpx) from 0.21.3 to 0.22.0. -- [Release notes](https://github.com/encode/httpx/releases) -- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) -- [Commits](https://github.com/encode/httpx/compare/0.21.3...0.22.0) - ---- -updated-dependencies: -- dependency-name: httpx - dependency-type: direct:production - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [httpx](https://github.com/encode/httpx) from 0.21.3 to 0.22.0. +- [Release notes](https://github.com/encode/httpx/releases) +- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) +- [Commits](https://github.com/encode/httpx/compare/0.21.3...0.22.0) + +--- +updated-dependencies: +- dependency-name: httpx + dependency-type: direct:production + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`9e2101d`](https://github.com/supabase-community/gotrue-py/commit/9e2101dfd657f30a0b6665943dfbd51b51299deb)) * chore(deps-dev): bump python-semantic-release from 7.23.0 to 7.24.0 (#78) @@ -2825,12 +2825,12 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * fix: upgrade dependencies and fix tests (#126) -* fix: upgrade dependencies - -* fix: update docker-compose of infra - -* chore: upgrade pre-commit config - +* fix: upgrade dependencies + +* fix: update docker-compose of infra + +* chore: upgrade pre-commit config + * chore: upgrade github action for ci ([`c9f2bde`](https://github.com/supabase-community/gotrue-py/commit/c9f2bde349f3f4e415366966ce0a39a1ac2084f2)) ### Unknown @@ -2848,54 +2848,54 @@ chore(deps-dev): bump pytest from 7.0.1 to 7.1.0 ([`657f07b`](https://github.com * chore(deps-dev): bump pytest-asyncio from 0.17.1 to 0.17.2 (#73) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.1 to 0.17.2. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.1...v0.17.2) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.1 to 0.17.2. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.1...v0.17.2) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`c6d4d09`](https://github.com/supabase-community/gotrue-py/commit/c6d4d09deac00bf0c58b3a4f7da6a7303c423790)) * chore(deps-dev): bump pre-commit from 2.16.0 to 2.17.0 (#74) -Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.16.0 to 2.17.0. -- [Release notes](https://github.com/pre-commit/pre-commit/releases) -- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) -- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.16.0...v2.17.0) - ---- -updated-dependencies: -- dependency-name: pre-commit - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.16.0 to 2.17.0. +- [Release notes](https://github.com/pre-commit/pre-commit/releases) +- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) +- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.16.0...v2.17.0) + +--- +updated-dependencies: +- dependency-name: pre-commit + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`150ae9d`](https://github.com/supabase-community/gotrue-py/commit/150ae9d71c9d034d0f86d43683203e1702266f57)) * chore(deps-dev): bump pytest-asyncio from 0.17.0 to 0.17.1 (#72) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.0 to 0.17.1. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.0...v0.17.1) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-patch -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.17.0 to 0.17.1. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.0...v0.17.1) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-patch +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`bc6f391`](https://github.com/supabase-community/gotrue-py/commit/bc6f391f07ba22467503cf25be3db48bebd58c14)) ### Documentation @@ -2906,18 +2906,18 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * feat: add create user param to sign in (#75) -* feat: add create user param to sign in - -ref: https://github.com/supabase/gotrue/pull/318 - -* 'Refactored by Sourcery' (#76) - -Co-authored-by: Sourcery AI <> - -* chore: format code - -* chore: format code - +* feat: add create user param to sign in + +ref: https://github.com/supabase/gotrue/pull/318 + +* 'Refactored by Sourcery' (#76) + +Co-authored-by: Sourcery AI <> + +* chore: format code + +* chore: format code + Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> ([`57ec6d8`](https://github.com/supabase-community/gotrue-py/commit/57ec6d8efe1233c1b90a8585045e6f85a4a3c17b)) @@ -2927,12 +2927,12 @@ Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.git * feat: add notion to enum of providers (#70) -* feat: add notion to enum of providers - -* 'Refactored by Sourcery' (#71) - -Co-authored-by: Sourcery AI <> - +* feat: add notion to enum of providers + +* 'Refactored by Sourcery' (#71) + +Co-authored-by: Sourcery AI <> + Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> ([`a8f2c45`](https://github.com/supabase-community/gotrue-py/commit/a8f2c45b25c9d008de7a5e1e6f18cc47a259c73c)) @@ -2942,33 +2942,33 @@ Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.git * chore(deps-dev): bump pytest-asyncio from 0.16.0 to 0.17.0 (#67) -Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.16.0 to 0.17.0. -- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) -- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.16.0...v0.17.0) - ---- -updated-dependencies: -- dependency-name: pytest-asyncio - dependency-type: direct:development - update-type: version-update:semver-minor -... - -Signed-off-by: dependabot[bot] <support@github.com> - +Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.16.0 to 0.17.0. +- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) +- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.16.0...v0.17.0) + +--- +updated-dependencies: +- dependency-name: pytest-asyncio + dependency-type: direct:development + update-type: version-update:semver-minor +... + +Signed-off-by: dependabot[bot] <support@github.com> + Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`e1acdf3`](https://github.com/supabase-community/gotrue-py/commit/e1acdf3036883bf7cabcb6cac9e7b9f5ac99a651)) ### Fix * fix: delete_user returns Exception event if response is Ok (#68) -* fix: delete_user returns Exception event if response is Ok - -* 'Refactored by Sourcery' (#69) - -Co-authored-by: Sourcery AI <> - -* chore: format code - +* fix: delete_user returns Exception event if response is Ok + +* 'Refactored by Sourcery' (#69) + +Co-authored-by: Sourcery AI <> + +* chore: format code + Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> ([`23c167e`](https://github.com/supabase-community/gotrue-py/commit/23c167e7082c5ddb4dd64b958aa55065c2b3e468)) @@ -3017,8 +3017,8 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * chore: remove skip of tests (#59) -* chore: remove skip of tests in async version - +* chore: remove skip of tests in async version + * chore: remove skip of tests in sync version ([`70b1286`](https://github.com/supabase-community/gotrue-py/commit/70b128680588c8bb96ec0d0e1a2a66820a590222)) * chore(deps): bump httpx from 0.21.1 to 0.21.2 @@ -3139,7 +3139,7 @@ Inherit from Exception ([`f415aa0`](https://github.com/supabase-community/gotrue * Inherit from Exception -Inherit from Exception instead of from BaseException. +Inherit from Exception instead of from BaseException. More info: [https://docs.python.org/3/tutorial/errors.html#tut-userexceptions](https://docs.python.org/3/tutorial/errors.html#tut-userexceptions) ([`3347136`](https://github.com/supabase-community/gotrue-py/commit/33471366b95b32303314c6b4d3938cd768a28fc4)) From 3b61aff1574a6adbbc49cd9ef81e86ff3b35535d Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 08:00:59 +0800 Subject: [PATCH 4/8] fix: patch imports --- gotrue/_async/gotrue_client.py | 4 +++- gotrue/_sync/gotrue_client.py | 4 +++- gotrue/helpers.py | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gotrue/_async/gotrue_client.py b/gotrue/_async/gotrue_client.py index 8d9233d7..2c365326 100644 --- a/gotrue/_async/gotrue_client.py +++ b/gotrue/_async/gotrue_client.py @@ -23,6 +23,8 @@ ) from ..helpers import ( decode_jwt_payload, + generate_pkce_challenge, + generate_pkce_verifier, model_dump, model_dump_json, model_validate, @@ -843,7 +845,7 @@ def _get_url_for_provider( provider: Provider, params: Dict[str, str], ) -> str: - if self.flow_type == "pkce": + if self._flow_type == "pkce": code_verifier = generate_pkce_verifier() code_challenge = generate_pkce_challenge(code_verifier) self._storage.set_item(f"{self._storage_key}-code-verifier", code_verifier) diff --git a/gotrue/_sync/gotrue_client.py b/gotrue/_sync/gotrue_client.py index 115fb4ef..c2a8ec8c 100644 --- a/gotrue/_sync/gotrue_client.py +++ b/gotrue/_sync/gotrue_client.py @@ -23,6 +23,8 @@ ) from ..helpers import ( decode_jwt_payload, + generate_pkce_challenge, + generate_pkce_verifier, model_dump, model_dump_json, model_validate, @@ -841,7 +843,7 @@ def _get_url_for_provider( provider: Provider, params: Dict[str, str], ) -> str: - if self.flow_type == "pkce": + if self._flow_type == "pkce": code_verifier = generate_pkce_verifier() code_challenge = generate_pkce_challenge(code_verifier) self._storage.set_item(f"{self._storage_key}-code-verifier", code_verifier) diff --git a/gotrue/helpers.py b/gotrue/helpers.py index 3a48271f..0ca82837 100644 --- a/gotrue/helpers.py +++ b/gotrue/helpers.py @@ -3,6 +3,7 @@ import base64 import hashlib import secrets +import string from base64 import b64decode from json import loads from typing import Any, Dict, Type, TypeVar, Union, cast @@ -143,7 +144,7 @@ def generate_pkce_verifier(length=64): def generate_pkce_challenge(code_verifier): """Generate a code challenge from a PKCE verifier.""" # Hash the verifier using SHA-256 - verifier_bytes = verifier.encode("utf-8") + verifier_bytes = code_verifier.encode("utf-8") sha256_hash = hashlib.sha256(verifier_bytes).digest() return base64.urlsafe_b64encode(sha256_hash).rstrip(b"=").decode("utf-8") From 66759da715a1d1511cf2518b5a1119bdfa205088 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 08:11:24 +0800 Subject: [PATCH 5/8] fix: update imports --- gotrue/helpers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gotrue/helpers.py b/gotrue/helpers.py index 804c4df4..5a4763ab 100644 --- a/gotrue/helpers.py +++ b/gotrue/helpers.py @@ -4,8 +4,7 @@ import hashlib import secrets import string -from base64 import b64decode -from base64 import urlsafe_b64decode, b64decode +from base64 import urlsafe_b64decode from json import loads from typing import Any, Dict, Type, TypeVar, Union, cast @@ -149,4 +148,3 @@ def generate_pkce_challenge(code_verifier): sha256_hash = hashlib.sha256(verifier_bytes).digest() return base64.urlsafe_b64encode(sha256_hash).rstrip(b"=").decode("utf-8") - From 72ee18db05b8d1ea2b916a4bfea074459df9ecf0 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 09:24:19 +0800 Subject: [PATCH 6/8] fix: fix typo --- gotrue/_async/gotrue_client.py | 2 +- gotrue/_sync/gotrue_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gotrue/_async/gotrue_client.py b/gotrue/_async/gotrue_client.py index 7bc93f84..07ec7288 100644 --- a/gotrue/_async/gotrue_client.py +++ b/gotrue/_async/gotrue_client.py @@ -875,7 +875,7 @@ def exchange_code_for_session(auth_code: str): "POST", "token?grant_type=pkce", body={ - "auth_code": email, + "auth_code": auth_code, "code_verifier": code_verifier, }, redirect_to=redirect_to, diff --git a/gotrue/_sync/gotrue_client.py b/gotrue/_sync/gotrue_client.py index 127f448e..0d2107d2 100644 --- a/gotrue/_sync/gotrue_client.py +++ b/gotrue/_sync/gotrue_client.py @@ -873,7 +873,7 @@ def exchange_code_for_session(auth_code: str): "POST", "token?grant_type=pkce", body={ - "auth_code": email, + "auth_code": auth_code, "code_verifier": code_verifier, }, redirect_to=redirect_to, From f33bf3ed43b930f8ef43756693c3af514ddfaa62 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 09:54:32 +0800 Subject: [PATCH 7/8] feat: allow dev to pass in code_verifier --- gotrue/_async/gotrue_client.py | 10 ++++++---- gotrue/_sync/gotrue_client.py | 12 +++++++----- gotrue/types.py | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/gotrue/_async/gotrue_client.py b/gotrue/_async/gotrue_client.py index 07ec7288..0019d7bb 100644 --- a/gotrue/_async/gotrue_client.py +++ b/gotrue/_async/gotrue_client.py @@ -869,16 +869,18 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: """ return decode_jwt_payload(jwt) - def exchange_code_for_session(auth_code: str): - code_verifier = get_item(f"{self._storage_key}-code-verifier") + def exchange_code_for_session(self, params: CodeExchangeParams): + code_verifier = params.get("code_verifier") or get_item( + f"{self._storage_key}-code-verifier" + ) response = self._request( "POST", "token?grant_type=pkce", body={ - "auth_code": auth_code, + "auth_code": params.get("auth_code"), "code_verifier": code_verifier, }, - redirect_to=redirect_to, + redirect_to=params.get("redirect_to"), xform=parse_auth_response, ) self._storage.remove_item(f"{self._storage_key}-code-verifier") diff --git a/gotrue/_sync/gotrue_client.py b/gotrue/_sync/gotrue_client.py index 0d2107d2..929d3372 100644 --- a/gotrue/_sync/gotrue_client.py +++ b/gotrue/_sync/gotrue_client.py @@ -82,7 +82,7 @@ def __init__( persist_session: bool = True, storage: Union[SyncSupportedStorage, None] = None, http_client: Union[SyncClient, None] = None, - flow_type: AuthFlowType = "implicit", + flow_type: AuthFlowType = "pkce", ) -> None: SyncGoTrueBaseAPI.__init__( self, @@ -867,16 +867,18 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: """ return decode_jwt_payload(jwt) - def exchange_code_for_session(auth_code: str): - code_verifier = get_item(f"{self._storage_key}-code-verifier") + def exchange_code_for_session(self, params: CodeExchangeParams): + code_verifier = params.get("code_verifier") or get_item( + f"{self._storage_key}-code-verifier" + ) response = self._request( "POST", "token?grant_type=pkce", body={ - "auth_code": auth_code, + "auth_code": params.get("auth_code"), "code_verifier": code_verifier, }, - redirect_to=redirect_to, + redirect_to=params.get("redirect_to"), xform=parse_auth_response, ) self._storage.remove_item(f"{self._storage_key}-code-verifier") diff --git a/gotrue/types.py b/gotrue/types.py index d5f2382c..1b407c2b 100644 --- a/gotrue/types.py +++ b/gotrue/types.py @@ -420,6 +420,21 @@ class MFAUnenrollParams(TypedDict): """ +class CodeExchangeParams(TypedDict): + code_verifier: str + """ + Randomly generated string + """ + auth_code: str + """ + Code returned after completing one of the authorization flows + """ + redirect_to: str + """ + The URL to route to after a session is successfully obtained + """ + + class MFAVerifyParams(TypedDict): factor_id: str """ From 364292c0bb1c8362f6da4a198ea6a2fe2d98fd8e Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Wed, 1 Nov 2023 10:48:02 +0800 Subject: [PATCH 8/8] patch: read from storage --- gotrue/_async/gotrue_client.py | 2 +- gotrue/_sync/gotrue_client.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gotrue/_async/gotrue_client.py b/gotrue/_async/gotrue_client.py index 0019d7bb..378801eb 100644 --- a/gotrue/_async/gotrue_client.py +++ b/gotrue/_async/gotrue_client.py @@ -870,7 +870,7 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: return decode_jwt_payload(jwt) def exchange_code_for_session(self, params: CodeExchangeParams): - code_verifier = params.get("code_verifier") or get_item( + code_verifier = params.get("code_verifier") or self._storage.get_item( f"{self._storage_key}-code-verifier" ) response = self._request( diff --git a/gotrue/_sync/gotrue_client.py b/gotrue/_sync/gotrue_client.py index 929d3372..cebe64f4 100644 --- a/gotrue/_sync/gotrue_client.py +++ b/gotrue/_sync/gotrue_client.py @@ -82,7 +82,7 @@ def __init__( persist_session: bool = True, storage: Union[SyncSupportedStorage, None] = None, http_client: Union[SyncClient, None] = None, - flow_type: AuthFlowType = "pkce", + flow_type: AuthFlowType = "implicit", ) -> None: SyncGoTrueBaseAPI.__init__( self, @@ -868,7 +868,7 @@ def _decode_jwt(self, jwt: str) -> DecodedJWTDict: return decode_jwt_payload(jwt) def exchange_code_for_session(self, params: CodeExchangeParams): - code_verifier = params.get("code_verifier") or get_item( + code_verifier = params.get("code_verifier") or self._storage.get_item( f"{self._storage_key}-code-verifier" ) response = self._request(