How to add a redirect once logged into metamask

Look - I won’t lie - I’m pretty new to all of this stuff

I cannot figure out in my mind how to make it so when people go to my index.html page it shows them one page to log in, and then once they’re logged in it should go to my web app.

I’ve read all the documentation but I think I’m missing something. (probably because I have never taken any kind of programming course)

Would love some insight into this

Thanks a lot - really enjoying learning!

Since you’re using html, you can just have your authenticate in a try ... catch block so that after authenticate is done, you can then redirect to the proper page