Open sotoJ24 opened 6 days ago
I will like to take care of this issue! My name is Jonatan, I'm from Dojo Coding community! I had used firebase auth in the past so I have experience on this area.
Hello I am Joseph I am a frontend developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. this is a couple of frontend and blockchain projects i have built https://metacrypt.vercel.app/ https://mattedsgn.com/ May I try this one?
I'd like to take this issue.
Can I take this issue?
Can I take care of this issue?
Can I take care of this issue? i'm a frontend dev and a blockchain dev please kindly assign :)
Hii! My name is Mario Araya, I’m a Software Developer with 2+ years of experience. I have worked with backend technologies such as Cairo, Java, and C#, as well as frontend development using React, NextJS, and JavaScript/TypeScript. I’ve made contributions to open-source projects, completed a Starknet Bootcamp, exercises on NodeGuardians, finished Starklings, and participated in multiple hackathons. I’m also a member of the Dojo Coding community here in Costa Rica.
This involves creating a Firebase project, enabling sign-in methods (email/password, Google, Web3 wallet), and configuring Hasura to accept Firebase JWT tokens. Set up roles (anonymous, user, tenant, landlord) in Hasura with role-based access control for different permissions. Test the JWT integration with a dummy login page, ensuring that role-based permissions work correctly. Make sure Firebase and Hasura are properly configured with correct JWT validation and security settings. I have worked on Firebase projects with different clients, so this setup will enhance user management and security in your project.
@Jonatan-Chaverri , feel free to work on this one please :)
Create Firebase Auth Account and Integrate with Hasura Project
Set up Firebase Authentication and integrate it with our Hasura GraphQL API to handle user authentication.
Problem
We need to:
Solution
1. Firebase Setup
Create new Firebase project:
Enable Authentication methods:
Follow this tutorial:
https://hasura.io/learn/graphql/hasura-authentication/integrations/firebase/
Just in the roles section, create the roles mentioned below
3. Hasura Permission Setup
Create roles in Hasura:
anonymous
: For unauthenticated usersuser
: For authenticated userstenant
: For apartment seekerslandlord
: For property ownersConfigure permissions for
users
table:Environment Setup
You can use a dummy login page in the frontend or separate to get the JWT token and test it against the current backend.
Given a valid JWT, this account should
Prerequisites
Success Criteria
Security Checklist
Additional Context
This setup will enable: