Skip to content

Commit bb8034d

Browse files
committed
fix: apple redirect
1 parent 3c78c0f commit bb8034d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supertokens_python/recipe/thirdparty/api/implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async def apple_redirect_handler_post(
153153
state_in_b64: str = form_post_info["state"]
154154
state = b64decode(state_in_b64).decode("utf-8")
155155
state_obj = json.loads(state)
156-
redirect_uri: str = state_obj["redirectURI"]
156+
redirect_uri: str = state_obj["frontendRedirectURI"]
157157

158158
url_obj = urlparse(redirect_uri)
159159
qparams = parse_qs(url_obj.query)

0 commit comments

Comments
 (0)