简体   繁体   中英

How to use the same user login on app and website with Firebase

I have a web application which uses Firebase authentication and in some cases user is redirected to a website (hosting) that uses the same proccess for authentication.

My doubt is: is there a way to use the same user login from app to website? Because now, user has to authenticate twice, on app and website and it's not good for their experience.

Thanks in advance!

This is an idea:

Make that redirect parts a WebView and then pass data from the app to the web view. Ithe web view uses that data. You can put the user token here and authenticate in that way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM