Setting up "Forgot Password" Process (AppGyver + Xano + SendGrid)

Hello!

I have been trying to set up a “Forgot Password” process and am getting stuck. I am using three tools to try to accomplish this process:

  • AppGyver
  • SendGrid
  • Xano

On Xano, I am using this Snippet created by Xano to facilitate the reset process:

Xano - Reset Password

My original thought was to use a Custom URL Scheme to pass our AppGyver mobile app (from an email) a magic link token that I could then POST to Xano to verify and then let the user create a new password in the app.

However, my understanding is that SendGrid no longer supports Custom URL Scheme links. They only support HTTP or HTTPS links. My own testing seems to confirm this. (Link 1)

Our original vision for our project was to only create a mobile app but it seems to me that we may need to create a web instance in AppGyver in order to receive the magic link when a user clicks on an email from SendGrid and a simple interface to allow customers to change their password.

Does that sound right or am I missing something? Has anyone solved this problem before?

2 Likes

Hi @Spencer_Cook, I haven’t come across a similar question on here before, but based on the documentation it seems that you’re right and a companion web app would be the best approach.

Thanks! Just to confirm, I did end up creating another AppGyver project that is a small website that handles the “Forgot Password” process. Not ideal but it works.

Can you provide more details for your process?

Did you make a whole different Appgyver project/app or a standalone page in an existing Appgyver project?

Hi!

I ended up creating a whole separate project (webpage, not app) that receives the temp token from Xano. The whole user experience goes like this:

  1. User taps the “Forgot Password” link in iOS/Android app.
  2. Opens a page for the user to enter their email address and tap send.
  3. That fires a SendGrid email to the user with the temp magic link.
  4. User selects that link, which sends them to the separate AppGyver web project
  5. That page receives the temp token from the magic link, allows the user to create a new password, and then sends that back to Xano to update the password.

Thank you Spencer. This was very helpful.

Thanks for this thread its just what I’m looking for.

In step 5 - how did you parse the URL with Appgyver??

I’ve completed the SendGrid bit and getting the email and starting your step 4 now.

Thanks

In the web runtime, page parameters are included in the URL as query parameters, so all you have to do is set up a page parameter with the same query parameter name and that page parameter will populate.

1 Like

Hello! I’m also trying to implement the “forgot password” process. Since I have a web app I assume, I can just implement it there. I don’t understand how to make the page to enter your new password only accessible through custom links and how to generate the links?

Best regards