Skip to content

Redirection Problem / Google indexing. #136

Answered by frankie567
arminvburren asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @arminvburren 👋

So, lot of things are going on here. I'll try to dig things one by one.

The login endpoint

I understand that you're trying to open Fief's login page in another window with some JS code to avoid to lose data user may have input in the form. I'm not a big fan of this solution since it breaks a bit the redirection flow.

IMO, I would suggest to revisit this so you store your form data reliably on the user browser. Something like LocalStorage looks like a good candidate: when the user makes change to the form, save it in the local storage. When the user opens the page, you can check if there is data in the LocalStorage and load it into the form. The nice thing with this solu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arminvburren
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants