25 Commits (master)
 

Author SHA1 Message Date
Guillermo Pages d9f4609b80 docs: fix inconsistency with code 2 months ago
Guillermo Pages 4fac0c3c52 2.3.0 2 months ago
Guillermo Pages 76ac7fe403 feat: generate secrets 2 months ago
Guillermo Pages b3554c1310 docs: clarify DAT usage and middleware configuration
Updated middleware example to use 'global' for OIDC routes.
Noted that ID token verification is distinct from DAT minting.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2 months ago
Guillermo Pages 8c114f7a61 2.2.5 2 months ago
Guillermo Pages 49865e66d6 fix: logout redirect loop
Changed GET /auth/logout to redirect to rpFrontendUrl instead of /login
to prevent re-authentication loop. When user logged out, redirecting to
/login would immediately start new OIDC flow with still-valid SwissOID
session, causing auto-login.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2 months ago
Guillermo Pages b55f3d0e22 2.2.4 3 months ago
Guillermo Pages 2c254d490f feat: add POST_LOGIN_PATH and ALLOW_CONTINUE_PARAM env vars
- Added POST_LOGIN_PATH env var (default: '/')
- Added ALLOW_CONTINUE_PARAM env var (default: true)
- Updated appConfigMap to read and pass these values
- Updated oidcConfigBuilder to include them in OIDC config

This allows consumers to configure post-login redirect behavior via env vars.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
3 months ago
Guillermo Pages e1c35de4f5 2.2.3 3 months ago
Guillermo Pages c15b407e1c fix: remove hardcoded URLs and add configurable post-login redirect
- Fixed hardcoded finalize URL to build from rpCallbackUrl
- Removed hardcoded /workspace redirect path
- Added postLoginPath config option (default: '/')
- Added allowContinueParam config option (default: true)
- Continue parameter now flows through signed state to session to final redirect

This fixes biblio-stats authentication flow and makes the package work for any RP.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
3 months ago
Guillermo Pages c39b078628 2.2.2 3 months ago
Guillermo Pages 0196ef9340 fix: polyfill 3 months ago
Guillermo Pages c6cff05bbf 2.2.1 3 months ago
Guillermo Pages 780876f750 fix: packages' 3 months ago
Guillermo Pages 5626324cae 2.2.0 3 months ago
Guillermo Pages 40bf4b1647 feat: onUserAuthenticated hook 3 months ago
Guillermo Pages 318a3de0b0 2.1.0 3 months ago
Guillermo Pages e1ec5ebb0c fix: harden middleware config 3 months ago
Guillermo Pages ca30bbecdb 2.0.0 3 months ago
Guillermo Pages d7b3f2a4df fix: dropping the legacy surface 3 months ago
Guillermo Pages 9f2176cd4b freeze: just commit to have a history track, but this code is not working yet 3 months ago
Guillermo Pages a032f9b6bf docs: add example env 3 months ago
Guillermo Pages fdfff1d29a upgrade: add packages 3 months ago
Guillermo Pages 157b11d45d feat: seems migrated 3 months ago
Guillermo Pages f66c3d08c3 feat: gitignore first 3 months ago