Ghost
New
struxadotcloud
/
struxa
public
Star
0
Fork
0
Code
Issues
0
Pull requests
0
development
1
branch
Go to file
t
Code
struxa
apps
web
src
app
api
remote
jwks
route.ts
feat: admin & client dashboard, initial support of managment and client views
ea28d9f
5 months ago
8 lines · 208 B
1
import
{
getPublicKeyJwk
}
from
"
@struxa/api/lib/jwt
"
;
2
3
export
async
function
GET
4
const
jwk
=
5
return
Response
.
json
6
keys
:
[
{
...
7
}
)
;
8
}
()
{
await
getPublicKeyJwk
()
;
(
{
jwk
,
use
:
"
sig
"
,
alg
:
"
RS256
"
}
]
,