From bb8034d7f7585fc23a5842dfe89819d9c43e0bf9 Mon Sep 17 00:00:00 2001 From: KShivendu Date: Mon, 14 Aug 2023 12:22:57 +0530 Subject: [PATCH] fix: apple redirect --- supertokens_python/recipe/thirdparty/api/implementation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supertokens_python/recipe/thirdparty/api/implementation.py b/supertokens_python/recipe/thirdparty/api/implementation.py index 4caec19b0..dd016f590 100644 --- a/supertokens_python/recipe/thirdparty/api/implementation.py +++ b/supertokens_python/recipe/thirdparty/api/implementation.py @@ -153,7 +153,7 @@ async def apple_redirect_handler_post( state_in_b64: str = form_post_info["state"] state = b64decode(state_in_b64).decode("utf-8") state_obj = json.loads(state) - redirect_uri: str = state_obj["redirectURI"] + redirect_uri: str = state_obj["frontendRedirectURI"] url_obj = urlparse(redirect_uri) qparams = parse_qs(url_obj.query)