How to Authenticate WordPress REST APIs with Firebase JWT token?

Viewed 23

I have a WordPress website and an app. I want to get WordPress content for my app. So I use JWT auth to get a bearer token and send it in the header when I req specific content from WordPress. It seems to work though. But the problem start when I try to log in to firebase and WordPress at the same time.

So I found a way. Use a miniorange firebase authentication plugin. When a user register in WordPress the user also registered in firebase. But What I tried to do is when users want to get content from WordPress by using REST API with JWT token (is from firebase) it's not working.

How can I Authenticate WordPress REST APIs with Firebase JWT token

0 Answers
Related