简体   繁体   中英

Laravel 9 Project with Firebase Phone Number Authentication

Is it possible to connect firebase phone number authentication with laravel 9 project. I have been searching this for a while and found most of the answers using javascript.In the 'firebase-php', there is no such function for phone authentication.

Please notify me if you know how to connnect firebase phone authentication with laravel 9 php directly

Since your Laravel project still delivers HTML and JavaScript to the client, I'd recommend first trying to integrate with the regular JavaScript SDK for Firebase, documented here

If you want to sign in from the server in your PHP code, there is no official SDK from Firebase for using it within PHP. So your best options are to use the REST API (which seems to allow what you want to do) or to look for a 3rd party library (which typically wrap the REST API).

Also see:

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