S
Supabase2mo ago
Subin

Reset Password via email not redirecting back to the iOS app.

I have an iOS app implemented in SwiftUI where I am trying to implement a reset password functionality. I am able to get the reset password email but clicking on it does not redirect me back to the app. Also I am confused as to which one to use here UniversalLinks or CustomURL schemes. Google login is working perfectly fine for me. I am using following supabase api Task { do { try await supabase.auth.resetPasswordForEmail(email, redirectTo: URL(string: "com.abc.myApp://auth/callback")!) message = "Password reset email sent!" } catch { print("Reset password error: \(error.localizedDescription)") message = "Error: \(error.localizedDescription)" } }
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?