-
Should I use Firebase ID tokens? For this, I need to get a new API token from Firebase SDK on each request and verify it on the server. I can use kreait/firebase-php package for verifying tokens with minimal friction.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Hello guys, I'm creating a Laravel-powered API and want to add token-based authentication for my Next.js application. I am using the MySQL database along with Firebase to store data to optimize performance and lower costs as much as possible. Now at this point, I'm a bit confused about what to use for handling tokens as there are plenty of options available.
-
Should I verify the Firebase ID token while authentication and then issue and use a JWT for subsequent requests? I will use the php-open-source-saver/jwt-auth package for handling JWT. I know JWTs are used in stateless applications but I guess when the API guard verifies the user it will also fetch user records from the database.
Related posts
-
From Electrical Engineer to Startup Founder: My Unexpected Journey
-
Building a Web Page Summarization App with Next.js, OpenAI, LangChain, and Supabase
-
How to Deploy and Secure a Next.js API on AWS
-
Mastering Data Fetching in React: A Comprehensive Guide to SWR
-
Brand new `Rlim` online markdown writing service