Hello everyone I have integrated Supabase into Kotlin Everything works fine EXCEPT the password reset system.
Context: I don't have an API/server: all calls to Supabase are made directly from my application. I call “resetPasswordForEmail”: the email is received. The deep link opens my application correctly. In the parameters, I receive three pieces of information: access_token, refresh_token, and type (recovery). After entering the new password (in the application), I create a private Supabase client (in my function) so as not to trigger a connection flow throughout my application. I import the tokens via the importAuthToken function. Then I try an updateUser to apply the new password. And then I receive a {“code”:403,“error_code”:“bad_jwt”,‘msg’:“invalid claim: missing sub claim”}.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.