How to redirect after a user signs in with Firebase authentication?

后端 未结 4 1488
孤独总比滥情好
孤独总比滥情好 2020-12-03 06:35

How can I redirect to a different webpage after the user has signed in?

Currently when a user logs in, data gets retrieved however, it doesn\'t redirect the user to

4条回答
  •  情话喂你
    2020-12-03 06:45

    You can assign to location in the JavaScript, e.g. location = 'https://google.com' or location = '/logged-in-page.html'.

提交回复
热议问题