🐛 Fix OIDC bugs

This commit is contained in:
2025-03-22 23:18:34 +08:00
parent 41b887faf6
commit 0276272b42
3 changed files with 30 additions and 30 deletions

View File

@@ -0,0 +1,10 @@
import { defineEventHandler } from 'h3'
import { solarFetch } from '~/utils/request'
export default defineEventHandler(async () => {
const solarNetworkApi = 'https://api.sn.solsynth.dev'
const resp = await solarFetch(`${solarNetworkApi}/cgi/id/well-known/jwks`)
return await resp.json()
})