AOSSIE-Org / AOSSIE-Org/InPactAI

BUG:Update JWT verification to support ES256 with Supabase JWK

Aperta
#275 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
102
Fork
144
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

## 📌 Issue Overview
Updated the JWT verification logic to work with ES256 using the Supabase JWK public key

## 🔍 Steps to Reproduce
- Switched JWT decoding to ES256 algorithm
- Used JWK public key from Supabase for verification
- Verified token audience as "authenticated"

## 💡 Result
- Authentication endpoints now work correctly end-to-end
- Frontend requests no longer show `Failed to fetch` errors

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.