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

Properly handle one-time password in JSON-RPC API #7459

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Properly handle one-time password in JSON-RPC API #7459

merged 2 commits into from
Mar 14, 2024

Conversation

julien-f
Copy link
Member

@julien-f julien-f commented Mar 11, 2024

DO NOT SQUASH, review by commit.

Description

This is a security issue because OTP was only check when signing in via xo-web, not via session.signIn in the JSON-RPC API.

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@julien-f julien-f force-pushed the api-otp branch 2 times, most recently from f4d079f to 70cd602 Compare March 11, 2024 11:42
@julien-f julien-f requested a review from MathieuRA March 11, 2024 11:42
@julien-f julien-f merged commit c6451cf into master Mar 14, 2024
1 check passed
@julien-f julien-f deleted the api-otp branch March 14, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants