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 摘要。