dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
110 stars 31 forks source link

Need Documentation on Uploads to Firebase Storage and Registration via api #101

Closed MerlinOfCode closed 4 years ago

MerlinOfCode commented 4 years ago

I noticed in the new version there is support for uploading to firebase storage from WordPress, but I can't find anything about how to do this in the user guide.

Also, the user guide mentions the ability to register new users in WordPress when they sign up in firebase, but there is no documentation on the auth method and how the params need to be configured.

Can you please add some documentation on these features.

Thanks you.

dalenguyen commented 4 years ago

Hi @Bikerflyeradmin, you can utilize the search feature to search for the content that you want.

image

MerlinOfCode commented 4 years ago

I'm sorry, I actually found it just now! Thank you!

On Thu, Aug 6, 2020, 9:26 AM Dale Nguyen notifications@github.com wrote:

Hi @Bikerflyeradmin https://github.com/Bikerflyeradmin, you can utilize the search feature to search for the content that you want.

[image: image] https://user-images.githubusercontent.com/14116156/89537073-cfeaf600-d7c6-11ea-893c-b984a085cc9c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/101#issuecomment-669925339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXP6MAFRI7UQZEDRKITR7KVPLANCNFSM4PWCRWQA .

MerlinOfCode commented 4 years ago

Dale, please tell me what type of authentication is needed to do this?

The Integrate Firebase PRO has its own Restful API endpoints that help to create a new WordPress user.

In this scenario, when you have a mobile app, and you want to duplicate user in WordPress, you can call the API to create a new User after user register on your app.

Endpoint: POST https://example.com/firebase/v2/users/register https://your-website.com/firebase/v2/users/registerExample payload: { username: 'dale', email: 'dale@dalenguyen.me', password: 'the-password' }

On Thu, Aug 6, 2020, 9:26 AM Dale Nguyen notifications@github.com wrote:

Hi @Bikerflyeradmin https://github.com/Bikerflyeradmin, you can utilize the search feature to search for the content that you want.

[image: image] https://user-images.githubusercontent.com/14116156/89537073-cfeaf600-d7c6-11ea-893c-b984a085cc9c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/101#issuecomment-669925339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXP6MAFRI7UQZEDRKITR7KVPLANCNFSM4PWCRWQA .

MerlinOfCode commented 4 years ago

I see now you have the firebase user id sent as user_login. Thank you.

On Thu, Aug 6, 2020, 7:16 PM Daniel Perley admin@bikerflyer.com wrote:

Dale, please tell me what type of authentication is needed to do this?

The Integrate Firebase PRO has its own Restful API endpoints that help to create a new WordPress user.

In this scenario, when you have a mobile app, and you want to duplicate user in WordPress, you can call the API to create a new User after user register on your app.

Endpoint: POST https://example.com/firebase/v2/users/register https://your-website.com/firebase/v2/users/registerExample payload: { username: 'dale', email: 'dale@dalenguyen.me', password: 'the-password' }

On Thu, Aug 6, 2020, 9:26 AM Dale Nguyen notifications@github.com wrote:

Hi @Bikerflyeradmin https://github.com/Bikerflyeradmin, you can utilize the search feature to search for the content that you want.

[image: image] https://user-images.githubusercontent.com/14116156/89537073-cfeaf600-d7c6-11ea-893c-b984a085cc9c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/101#issuecomment-669925339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXP6MAFRI7UQZEDRKITR7KVPLANCNFSM4PWCRWQA .