Elysia OpenID Client
OpenID Connect client (RP, Relying Party) plugin for ElysiaJS, wrapping openid-client.
Specifications and limitations
- All authentication/authorization information is stored on the server side.
- The status is passed to routing using the resolve hook.
- Use Cookie to identify users.
- Depends on Bun.
- Only TypeScript files included.
- Only works as ESM.
- Only
Authorization Code Flowis supported. - Only
Confidential Clientis supported. - Client metadata:
client_secretis requiredresponse_typesis fixed to["code"]
- Authorization parameters:
response_typeis fixed tocoderesponse_modemust set toqueryor not setcode_challenge,stateandnonceare generated automaticallycode_challenge_methodis fixed toS256openidis automatically added toscope