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 Flow
is supported. - Only
Confidential Client
is supported. - Client metadata:
client_secret
is requiredresponse_types
is fixed to["code"]
- Authorization parameters:
response_type
is fixed tocode
response_mode
must set toquery
or not setcode_challenge
,state
andnonce
are generated automaticallycode_challenge_method
is fixed toS256
openid
is automatically added toscope