diff --git a/v2/thirdparty/custom-ui/thirdparty-login.mdx b/v2/thirdparty/custom-ui/thirdparty-login.mdx index 425651447..9e98ad4a4 100644 --- a/v2/thirdparty/custom-ui/thirdparty-login.mdx +++ b/v2/thirdparty/custom-ui/thirdparty-login.mdx @@ -553,7 +553,7 @@ def override_thirdparty_apis(original_implementation: APIInterface): query_string = "&".join(query_items) # Refer to the README of sign_in_with_apple to understand what this url is - redirect_url = f"intent://callback?${query_string}#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" + redirect_url = "intent://callback?" + query_string + "#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" api_options.response.set_header("Location", redirect_url) api_options.response.set_status_code(303) diff --git a/v2/thirdpartyemailpassword/custom-ui/thirdparty-login.mdx b/v2/thirdpartyemailpassword/custom-ui/thirdparty-login.mdx index c15150fa3..ac1bf9cdc 100644 --- a/v2/thirdpartyemailpassword/custom-ui/thirdparty-login.mdx +++ b/v2/thirdpartyemailpassword/custom-ui/thirdparty-login.mdx @@ -556,7 +556,7 @@ def override_thirdparty_apis(original_implementation: APIInterface): query_string = "&".join(query_items) # Refer to the README of sign_in_with_apple to understand what this url is - redirect_url = f"intent://callback?${query_string}#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" + redirect_url = "intent://callback?" + query_string + "#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" api_options.response.set_header("Location", redirect_url) api_options.response.set_status_code(303) diff --git a/v2/thirdpartypasswordless/custom-ui/thirdparty-login.mdx b/v2/thirdpartypasswordless/custom-ui/thirdparty-login.mdx index db70c12c4..e21d8894c 100644 --- a/v2/thirdpartypasswordless/custom-ui/thirdparty-login.mdx +++ b/v2/thirdpartypasswordless/custom-ui/thirdparty-login.mdx @@ -556,7 +556,7 @@ def override_thirdparty_apis(original_implementation: APIInterface): query_string = "&".join(query_items) # Refer to the README of sign_in_with_apple to understand what this url is - redirect_url = f"intent://callback?${query_string}#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" + redirect_url = "intent://callback?" + query_string + "#Intent;package=YOUR.PACKAGE.IDENTIFIER;scheme=signinwithapple;end" api_options.response.set_header("Location", redirect_url) api_options.response.set_status_code(303)