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

chore: token invalid throw 401 instead of return public incoming payment #3062

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    ced6d16 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. pull request review changes

    DarianM committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e0909bf View commit details
    Browse the repository at this point in the history
  2. Update packages/backend/src/open_payments/auth/middleware.ts

    `authorization` can still be undefined here, when the `canSkipAuthValidation` is false it won't enter the early return statement and will return 401 because of undefined authorization
    
    Co-authored-by: Max Kurapov <max@interledger.org>
    DarianM and mkurapov authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c242202 View commit details
    Browse the repository at this point in the history
  3. redo update middleware.ts

    DarianM authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    97afcdf View commit details
    Browse the repository at this point in the history
  4. fix error check

    DarianM committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    dd1b8e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e90fb80 View commit details
    Browse the repository at this point in the history
  6. move throw outside condition

    DarianM committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    92b887e View commit details
    Browse the repository at this point in the history
  7. remove try catch

    DarianM committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    fa0d4b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. fix tests

    darianm authored and darianm committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    150a26e View commit details
    Browse the repository at this point in the history
  2. change test description

    DarianM committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    64518b2 View commit details
    Browse the repository at this point in the history
  3. fix test: change toBeUndefined to toBeFalsy

    darianm authored and darianm committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    9408795 View commit details
    Browse the repository at this point in the history
  4. prettier formating

    darianm authored and darianm committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    040b132 View commit details
    Browse the repository at this point in the history