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

Add auth tests #126

Merged
merged 17 commits into from
Dec 7, 2023
Merged

Add auth tests #126

merged 17 commits into from
Dec 7, 2023

Commits on Nov 12, 2023

  1. Remove /auth/test endpoint

    Most stupidest endpoint to ever exist, this is why we write tests instead!
    Timothy-Gonzalez committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    a1195e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85f68ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a985ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb60e31 View commit details
    Browse the repository at this point in the history
  5. Move around router

    Timothy-Gonzalez committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    56270ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53e5fb2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8fa8933 View commit details
    Browse the repository at this point in the history
  8. Add GET /auth/roles/list/:ROLE & fix auth router

    Adds tests & adds authorization check to listing all users under role
    Timothy-Gonzalez committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    2de8d21 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Add GET /auth/roles/ test & fix router

    Allows getRoles to return undefined when roles cannot be found. This
    should probably be restructured nicer at some point.
    Timothy-Gonzalez committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    053986c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c04dad View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    f1a4d89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f809a44 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c689867 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Add auth lib tests

    Timothy-Gonzalez committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    f13cf9d View commit details
    Browse the repository at this point in the history
  2. Fix incorrect token refresh behavior

    Also add tests to verify works in future. Refresh was causing provider
    to be appended again (google123 -> googlegoogle123) for new token
    Timothy-Gonzalez committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ce15e5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac703e2 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

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