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

feat(api): add JWT authentication #281

Merged
merged 10 commits into from
Jun 22, 2022
Merged

feat(api): add JWT authentication #281

merged 10 commits into from
Jun 22, 2022

Commits on Jun 14, 2022

  1. feat(api): add JWT authentication (#205)

    * Initial jwt attempt
    
    * Better error handling. Correct casing for bearer token. Only apply auth to api endpoints and move login to base uri. Fix login info json. Add exp claim to provided jwt.
    
    * Sort
    
    * fix feature gating
    
    * config jwt expiration
    
    * Accept passwords for login instead of hash and configure salt
    
    * Add hex dep to api feature
    
    * Remove unnecessary clippy tag
    
    * Little cleanup to login route
    Alexandcoats committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    129a921 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main-jwt

    Alexandcoats committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    ac518d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. PR suggestions

    Alexandcoats committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    d65949d View commit details
    Browse the repository at this point in the history
  2. Use updated auth-helper

    Alexandcoats committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6daf103 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into main-jwt

    Alexandcoats committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    ba4c19f View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. PR suggestions

    Alexandcoats committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    9f4d1ff View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main-jwt

    Alexandcoats committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    3a89e54 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Merge branch 'main' into main-jwt

    Alexandcoats committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    f952e68 View commit details
    Browse the repository at this point in the history
  2. PR suggestions

    Alexandcoats committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e0e4d71 View commit details
    Browse the repository at this point in the history
  3. Clean up allow origins

    Alexandcoats committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    0a9410c View commit details
    Browse the repository at this point in the history