Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve login and cookie handling #76

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Sep 22, 2024

  1. deps: update axios to 1.7.5

    line-o committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    51bf051 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cee177c View commit details
    Browse the repository at this point in the history
  3. feat: improve cookie-login and -logout

    - Use persistent login module directly to allow custom login and logout route handlers.
    - Logout route does not need to redirect anymore.
    - Add cookie.xqm utility module that is package private.
    - Add custom login and logout route handlers to test app.
    - Add and extend tests for login and logout.
    line-o committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    30ef866 View commit details
    Browse the repository at this point in the history
  4. fix: raise specific error when route handler is not found

    When a route tries to call a handler function that does not exist, roaster will return
    with status code 500 and an actionable description:
    "Operation not found for operationId:<operationId>"
    line-o committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    4eb8d57 View commit details
    Browse the repository at this point in the history
  5. chore(test): fix formatting

    line-o committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    c356cac View commit details
    Browse the repository at this point in the history
  6. build: use node v20

    line-o committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    7f4dde5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e15d551 View commit details
    Browse the repository at this point in the history