AOSSIE-Org / AOSSIE-Org/InPactAI

BUG:Update JWT verification to support ES256 with Supabase JWK

未關閉
#275 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
102
分支
144
PR 合併指標
30 天內沒有已合併 PR

描述

### 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。