wayofthepie
e6160a2f94
feat(oidc-auth): allow setting audience for oidc-auth ( #1010 )
2025-03-24 21:41:40 +09:00
Milan Raj
87be440009
feat(oidc-auth) Add initOidcAuthMiddleware and avoid mutating environment variables ( #980 )
...
* Add setOidcAuthEnv
* Avoid test relying on mutated global
* Test and docs
* Changeset
* style
* Update type import
* Switch to setOidcAuthEnvMiddleware
* Update changeset description
* nit remove unneeded optional param on getOidcAuthEnv
* Rename to initOidcAuthMiddleware
2025-03-16 18:57:44 +09:00
Shotaro Nakamura
c24efa6b8a
fix(node-ws): ws wasn't created when upgrade process is async ( #959 )
...
* fix(node-ws): ws wasn't created when upgrade process is async
* chore: add changeset
* add test
* Update big-pillows-shave.md
2025-02-10 18:10:03 +09:00
Yoshio HANAWA
be34f6908f
fix(oidc-auth): Fixed type error ( #936 )
2025-01-17 19:14:12 +09:00
Yoshio HANAWA
2f716d619d
feat(oidc-auth): support absolute path for redirect URI ( #926 )
...
* feat(oidc-auth): support absolute path for redirect URI
* Apply suggestions from code review
Change variable names to camelCase
Co-authored-by: tempepe <maekawa@tempepe.com>
* Update .changeset/kind-cheetahs-give.md
---------
Co-authored-by: tempepe <maekawa@tempepe.com>
2025-01-09 12:12:21 +09:00
tempepe
4a0606f774
feat(oidc-auth): optional cookie domain ( #919 )
2025-01-05 18:23:44 +09:00
tempepe
68eec9e2bc
feat(oidc-auth): optional cookie name ( #789 )
2024-10-25 11:25:00 +09:00
Axel Meinhardt
5675a5fc32
feat(oidc-auth): access and set claims ( #711 )
...
* feat(oidc-auth): access and set claims
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add changeset, doc and fix types
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add tests
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* refactored some types
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 11:44:14 +09:00
Axel Meinhardt
cd99b40177
feat(oidc-auth): restrict cookie paths ( #709 )
...
* feat(oidc-auth): restrict cookie paths
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* chore(oidc-auth): add documentation
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* fix(oidc-auth): add tests
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
* refactor and format
---------
Signed-off-by: Axel Meinhardt <26243798+ameinhardt@users.noreply.github.com>
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-08-26 07:37:10 +09:00
Yusuke Wada
7ab462dbc4
refactor: format ( #497 )
2024-05-04 11:33:29 +09:00
Yoshio HANAWA
7777562f64
feat: Add OpenID Connect authentication middleware ( #372 )
...
* Add OpenID Connect authentication middleware
* add ci
* use tsup to build and use `module`
* update `yarn.lock`
* update `yarn.lock`
* Add `configureOidcAuth()` and remove the use of environment variables / Replace `Error` to `HTTPException` / Fix README / Fix version to 0.0.0
* Use environment variables for configuration of the middleware and remove `configureOidcAuth()` / Fix README
* chore: update `peerDependencies` and use latest hono
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-02-13 11:14:48 +09:00