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

Auth/PM-3833 - Remove Deprecated Register and Prelogin endpoints from API #4206

Merged

Conversation

JaredSnider-Bitwarden
Copy link
Contributor

@JaredSnider-Bitwarden JaredSnider-Bitwarden commented Jun 19, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-3833
Work this was based on: #3255 (had too many merge conflicts so it was just easier to redo the changes in a new branch).

📔 Objective

To clean up the deprecated Register & Prelogin endpoints from API. Updated tests and moved response & request models to Identity.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@JaredSnider-Bitwarden JaredSnider-Bitwarden marked this pull request as ready for review June 19, 2024 17:51
@JaredSnider-Bitwarden JaredSnider-Bitwarden requested a review from a team as a code owner June 19, 2024 17:51
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.55%. Comparing base (b2b1e3d) to head (e5a9e6c).

Current head e5a9e6c differs from pull request most recent head 190f390

Please upload reports for the commit 190f390 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4206      +/-   ##
==========================================
- Coverage   40.68%   40.55%   -0.14%     
==========================================
  Files        1239     1235       -4     
  Lines       59492    59328     -164     
  Branches     5434     5423      -11     
==========================================
- Hits        24206    24058     -148     
+ Misses      34160    34144      -16     
  Partials     1126     1126              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…egister-and-prelogin-from-api

# Conflicts:
#	src/Identity/Controllers/AccountsController.cs
#	test/Identity.IntegrationTest/Controllers/AccountsControllerTests.cs
#	test/Identity.Test/Controllers/AccountsControllerTests.cs
@jlf0dev jlf0dev self-requested a review June 19, 2024 18:04

This comment was marked as off-topic.

@JaredSnider-Bitwarden JaredSnider-Bitwarden merged commit 29b47f7 into main Jun 19, 2024
47 checks passed
@JaredSnider-Bitwarden JaredSnider-Bitwarden deleted the auth/pm-3833/remove-register-and-prelogin-from-api branch June 19, 2024 19:11
doy added a commit to doy/rbw that referenced this pull request Jun 26, 2024
the prelogin endpoint on the base api is being removed soon, see
bitwarden/server#4206
withinfocus pushed a commit that referenced this pull request Jul 9, 2024
… API (#4206)

* PM-3833 - API - AccountsController.cs && AccountsController.cs - remove prelogin and register endpoints.

* PM-3833 - Move Request and Response models that were used for Prelogin and PostRegister from API to Identity.

* PM-3833 - FIX LINT

* PM-3833 - Fix issues after merge conflict fixes.

* PM-3833 - Another test fix
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