Repository navigation
Add a migration guide from fastapi-users - #39
Merged
Merged
Conversation
fastapi-users is in maintenance mode with no new features, so its users are the audience most likely to be looking for a replacement, and they had nothing to follow. The guide maps concepts and every route, shows the setup side by side, and gives the SQL to move users and OAuth accounts across. It leads with the fact that decides the whole migration: both libraries hash with argon2-cffi and bcrypt, so existing password hashes verify unchanged and nobody has to reset a password. It is equally explicit about what this library does not have: no user admin CRUD routes (with a worked replacement), no linking an OAuth account while signed in, and no MFA. It also flags that issued access tokens and in-flight verification links do not survive the cutover.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fastapi-users is in maintenance mode with no new features, so its users are the audience most likely to be looking for a replacement, and they had nothing to follow. This adds that guide.
Changes
docs/migrating-from-fastapi-users.md, second in the nav after Getting Started, and in the generatedllms.txt.argon2-cffiandbcrypt(fastapi-users via pwdlib), so existing password hashes verify unchanged and nobody resets a password.oauth_nametoprovider, integerexpires_atto a timestamp).Claims about fastapi-users were checked against their current documentation and the
fastapi-users-db-sqlalchemysource, not from memory.Test plan
mkdocs build --strictclean; page appears in nav,llms.txt, andllms-full.txtCurrentUser,SuperUser,parse_user_id,hooks.on,include_routers)