Skip to content

fix: Use request body for user creation and update endpoints #2012

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

adamantike
Copy link
Contributor

Description
Stop using query parameters for user creation and update endpoints in the API. Instead, use the request body to pass user data.

This change stops leaking sensitive information like passwords in the URL.

Fixes #2010

Checklist

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

@adamantike adamantike requested review from gantoine and zurdi15 June 24, 2025 13:12
Copy link

trunk-io bot commented Jun 24, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

Copy link

github-actions bot commented Jun 24, 2025

Test Results

92 tests   92 ✅  28s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit b1ba322.

♻️ This comment has been updated with latest results.

Stop using query parameters for user creation and update endpoints in
the API. Instead, use the request body to pass user data.

This change stops leaking sensitive information like passwords in the
URL.

Fixes #2010
@adamantike adamantike force-pushed the fix/user-endpoints-use-body branch from db99b7e to b1ba322 Compare June 25, 2025 03:44
@adamantike adamantike merged commit b6be11d into master Jun 25, 2025
10 checks passed
@adamantike adamantike deleted the fix/user-endpoints-use-body branch June 25, 2025 03:47
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.

2 participants