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

Basic Authentication via API #122

Closed MerlinOfCode closed 3 years ago

MerlinOfCode commented 3 years ago

Are there new endpoints for basic authentication via the api, such as the endpoint for creating new user mentioned in your docs? How could I allow my mobile app users to authenticate to wordpress in the app?

dalenguyen commented 3 years ago

There is none at the moment for basic authentication via API. What is your use case?

MerlinOfCode commented 3 years ago

I'm going to try to integrate the wordpress backend with my app as well, login uses so they can add vendor products from the app, and was going to log them in via the rest API but was wondering since the registration is via a custom firebase endpoint perhaps the login is too.

On Wed, Oct 14, 2020, 9:55 AM Dale Nguyen notifications@github.com wrote:

There is none at the moment for basic authentication via API. What is your use case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/122#issuecomment-708419681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNCE7SAHNQIH7MVETTSKWUTXANCNFSM4SNYDBSA .

MerlinOfCode commented 3 years ago

Also, when I use the shortcode to display realtime doc from query, it is awesome because I can just have the doc I'd of post in app joined the the site url to allow users to share links to their stories. However, when inside facebook webview the realtime doc does not load. Would it help to put the code in the header?

On Wed, Oct 14, 2020, 11:19 AM Daniel Perley admin@bikerflyer.com wrote:

I'm going to try to integrate the wordpress backend with my app as well, login uses so they can add vendor products from the app, and was going to log them in via the rest API but was wondering since the registration is via a custom firebase endpoint perhaps the login is too.

On Wed, Oct 14, 2020, 9:55 AM Dale Nguyen notifications@github.com wrote:

There is none at the moment for basic authentication via API. What is your use case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/122#issuecomment-708419681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNCE7SAHNQIH7MVETTSKWUTXANCNFSM4SNYDBSA .

dalenguyen commented 3 years ago

It wouldn't help because the content wasn't there for preview. You can use an SEO plugin in order to generate a general preview for social media instead.

MerlinOfCode commented 3 years ago

Apart from preview, how could I get the firebase data to load on the page of my website? Facebook merely keeps a user in their webview she. They click on the link. But for some reason the firebase data does not load in Facebook's webview (not talking about preview)

On Thu, Oct 15, 2020, 9:09 PM Dale Nguyen notifications@github.com wrote:

It wouldn't help because the content wasn't there for preview. You can use an SEO plugin in order to generate a general preview for social media instead.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/122#issuecomment-709670454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXKDWKXXAEVPMQQOP63SK6MNJANCNFSM4SNYDBSA .

dalenguyen commented 3 years ago

The data is from firebase, it won't available at the time for preview on social media. The suitable solution is to use an SEO tool to create a general title, description, and feature image for the dynamic post.

MerlinOfCode commented 3 years ago

I believe I have found a way to do it. Thank you.

On Fri, Nov 13, 2020, 9:38 PM Dale Nguyen notifications@github.com wrote:

The data is from firebase, it won't available at the time for preview on social media. The suitable solution is to use an SEO tool to create a general title, description, and feature image for the dynamic post.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/122#issuecomment-727124827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNZOLKZJ4KVORRTFFTSPXUSVANCNFSM4SNYDBSA .