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

Merge MFA into dev #564

Merged
merged 45 commits into from
Oct 26, 2024
Merged

Merge MFA into dev #564

merged 45 commits into from
Oct 26, 2024

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    2dcee5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3eec16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5387815 View commit details
    Browse the repository at this point in the history
  4. refactor: wrap object field type with Option and change shell() m…

    …ethod accordingly
    
    This change allows to exactly know when a ChorusUser is authenticated or not
    xystrive committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    4920c91 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85a2878 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c4e069 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a3aa462 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6ef33c0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8f995a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    c3c506b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee19cb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    317dbe1 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    530ed90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf2608f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd637fb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ef5221 View commit details
    Browse the repository at this point in the history
  5. refactor: comments

    xystrive committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d188fe4 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

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

Commits on Oct 2, 2024

  1. Merge dev into mfa

    kozabrada123 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a446b55 View commit details
    Browse the repository at this point in the history
  2. remove Option from ChorusUser object, mildly refactor logins

    Remove option from the ChorusUser object field, since it makes the api a lot worse.
    
    Tihs means we still call ChorusUser::shell a few times (mostly in logins, but also in one mfa route).
    
    The ratelimiter should be refactored at some point to allow an instance send unauthenticated ratelimited requests
    kozabrada123 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a29f354 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bff940 View commit details
    Browse the repository at this point in the history
  4. Add a fixme

    kozabrada123 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0955026 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1927ed8 View commit details
    Browse the repository at this point in the history
  6. fix: feature lock entities/mfa_token

    Locks entities/mfa_token.rs to the client feature.
    
    This representation is purely client sided, for a server sided
    mfa token, you'd likely only store the expiration timestamp and
    give the JWT to be handled by the client.
    kozabrada123 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    825e0ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    faffb4c View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    7583d45 View commit details
    Browse the repository at this point in the history
  2. chore: ah

    kozabrada123 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ad0b5fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a392d3 View commit details
    Browse the repository at this point in the history
  4. fix: heh?

    kozabrada123 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ba234bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d256bff View commit details
    Browse the repository at this point in the history
  6. fix: httptest panics

    kozabrada123 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    49a0742 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    b3a065b View commit details
    Browse the repository at this point in the history
  2. feat: send mfa token where needed, add some mfa routes

    - add Enable and Disable TOTP MFA routes
    - add Enable and Disable SMS MFA routes
    kozabrada123 committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    7bf3b27 View commit details
    Browse the repository at this point in the history
  3. feat: add mfa authenticator type, get webauthn authenticators

    - Adds the MfaAuthenticator type
    - Renames AuthenticatorType to MfaAuthenticationType - these are ways we can authenticate, not types of authenticators
    - Adds MfaAuthenticatorType, removes the old ReadyAuthenticatorType which was just this type in the Ready payload
    - Adds the get_webauthn_authenticators route
    kozabrada123 committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    2fe8fdb View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    3687f54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e00e9bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67048f0 View commit details
    Browse the repository at this point in the history
  4. 1 Configuration menu
    Copy the full SHA
    bfd3039 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    619a718 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82bcaab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd236fe View commit details
    Browse the repository at this point in the history
  4. api: improve MFA api

    changes:
    - Removed the weirdness with EnableTotpMfaReturn and EnableTotpMfaResponse. I've realized we have not reason to hide a received token from library users, as they'll probably want to save it somewhere as well.
    - For the same reason, made disable_totp_mfa return the new token
    - Updated documentation on several mfa types
    - Renamed type MfaVerificationSchema to MfaChallenge
    - Renamed field mfa on MfaRequiredSchema to mfa_challenge
    kozabrada123 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f0aef03 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. api: easier mfa api

    - Added two aliases for ChorusUser::complete_mfa_challenge, MfaChallenge::complete and MfaVerifySchema::verify_mfa
    kozabrada123 committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ae2042f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    090367b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0984fc5 View commit details
    Browse the repository at this point in the history