8959a12d56 
					 
					
						
						
							
							Update verify.py ( #1200 )  
						
						... 
						
						
						
						* Update verify.py
When using a schema setup as proposed in the documentation like: ReadUser, CreateUser, UpdateUser and BaseUser in the combination with MongoDB / Beanie, the verify() method will not "enforce" the `user_schema` but instead will return the `BaseUser` which will cause serialisation errors as such:
```
pydantic.error_wrappers.ValidationError: 1 validation error for ReadUser
response -> id
```
because the mapping between MongoDBs internal `_id` and the Pydantic `id` does not work.
* use `from_orm` 
						
						
							
						
					 
					
						2023-04-29 10:21:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						867d78f818 
					 
					
						
						
							
							docs: add jankadel as a contributor for bug ( #1201 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-04-27 13:38:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a63264c99e 
					 
					
						
						
							
							Fix   #1166 : add type hint to /users/{id} routes  
						
						
						
						
							
						
					 
					
						2023-04-27 09:41:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8fd097cbc8 
					 
					
						
						
							
							Revamp Transport so they always build a full Response object ( #1049 )  
						
						... 
						
						
						
						* Revamp Transport so they always build a full Response object
* Fix linting
* Add private methods to set cookies on CookieTransport
* Change on_after_login login_return parameter to response 
						
						
							
						
					 
					
						2023-04-27 09:32:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9a2515f56c 
					 
					
						
						
							
							docs: add EssaAlshammri as a contributor for doc ( #1196 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-04-21 07:54:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6a6d752cc2 
					 
					
						
						
							
							correct a misspelled word "wist" -> "wish ( #1195 )  
						
						
						
						
							
						
					 
					
						2023-04-21 07:54:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0f4cf0c694 
					 
					
						
						
							
							Add doc about custom settings when using Beanie ( #1193 )  
						
						
						
						
							
						
					 
					
						2023-04-18 11:09:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2e387d80ea 
					 
					
						
						
							
							Update email-validator requirement from <1.4,>=1.1.0 to >=1.1.0,<2.1 ( #1192 )  
						
						... 
						
						
						
						Updates the requirements on [email-validator](https://github.com/JoshData/python-email-validator ) to permit the latest version.
- [Release notes](https://github.com/JoshData/python-email-validator/releases )
- [Changelog](https://github.com/JoshData/python-email-validator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/JoshData/python-email-validator/commits )
---
updated-dependencies:
- dependency-name: email-validator
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-04-17 10:05:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						88e625e068 
					 
					
						
						
							
							docs: add sorasful as a contributor for code ( #1190 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-04-14 16:11:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e426d6823 
					 
					
						
						
							
							Add login_return to on_after_login method ( #1187 )  
						
						
						
						
							
						
					 
					
						2023-04-14 16:10:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bcae3e53ba 
					 
					
						
						
							
							Bump version 10.4.1 → 10.4.2  
						
						... 
						
						
						
						Documentation
-------------
* Update documentation for Beanie. 
						
						
							
 
						
					 
					
						2023-04-14 15:50:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cefcb7a433 
					 
					
						
						
							
							Fix pytest-asyncio warning regarding event loop fixture  
						
						
						
						
							
						
					 
					
						2023-04-14 15:49:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4bd618503b 
					 
					
						
						
							
							Update Beanie docs  
						
						
						
						
							
						
					 
					
						2023-04-14 15:46:11 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5c559330b4 
					 
					
						
						
							
							docs: add gpkc as a contributor for doc ( #1178 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-03-23 18:21:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be475e391a 
					 
					
						
						
							
							Explicitly cite the expire_on_commit setting in the docs ( #1177 )  
						
						... 
						
						
						
						https://github.com/fastapi-users/fastapi-users/issues/1175  
					
						2023-03-23 18:20:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						525c1866a7 
					 
					
						
						
							
							Bump version 10.4.0 → 10.4.1  
						
						... 
						
						
						
						Bug fixes & improvements
---------
* Fix  #1172 : missing `is_verified_by_default` argument on `get_oauth_router` method
* Bump dependencies:
    * `python-multipart ==0.0.6` 
						
						
							
 
						
					 
					
						2023-03-15 13:48:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						982acb13fb 
					 
					
						
						
							
							Fix typings  
						
						
						
						
							
						
					 
					
						2023-03-15 13:42:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						26dfd9c80a 
					 
					
						
						
							
							Bump python-multipart  
						
						
						
						
							
						
					 
					
						2023-03-15 13:34:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5561a528db 
					 
					
						
						
							
							Fix   #1172 : expose is_verified_by_default argument on FastAPIUsers.get_oauth_router  
						
						
						
						
							
						
					 
					
						2023-03-15 13:33:52 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						185f4d38da 
					 
					
						
						
							
							Update md-buttons URL  
						
						
						
						
							
						
					 
					
						2023-02-14 17:10:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7fbab34f98 
					 
					
						
						
							
							Bump version 10.3.0 → 10.4.0  
						
						... 
						
						
						
						New features
------------
* SQLAlchemy 2.0 support [[Documentation](https://fastapi-users.github.io/fastapi-users/10.4/configuration/databases/sqlalchemy/ )]
    * If you need to stay on SQLAlchemy 1.4, you can pin this dependency: `fastapi-users-db-sqlalchemy<5.0.0`
* Allow to set `is_verified` flag to `True` by default after OAuth registration [[Documentation](https://fastapi-users.github.io/fastapi-users/10.4/configuration/oauth/#set-is_verified-to-true-by-default )]
Improvements
------------
* Bump dependencies
    * `httpx-oauth >=0.4,<0.12` 
						
						
							
 
						
					 
					
						2023-02-13 17:48:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9b57fa2e73 
					 
					
						
						
							
							Allow to set is_verified to True after OAuth callback  
						
						
						
						
							
						
					 
					
						2023-02-13 17:42:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5c48283155 
					 
					
						
						
							
							Update docs for SQLAlchemy 2.0  
						
						
						
						
							
						
					 
					
						2023-02-13 17:28:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						15c60525d4 
					 
					
						
						
							
							Bump httpx-oauth  
						
						
						
						
							
						
					 
					
						2023-02-13 17:28:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						024e6cd451 
					 
					
						
						
							
							docs: add bkis as a contributor for doc ( #1151 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2023-01-25 09:07:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9d374add50 
					 
					
						
						
							
							Add important hint to documentation ( #1149 )  
						
						... 
						
						
						
						The documentation was missing a hint that the `AccessToken` ODM model has to be added to the `document_models` array argument for Beanie to know this model. 
						
						
							
						
					 
					
						2023-01-25 09:06:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0e975c9b95 
					 
					
						
						
							
							Bump version 10.2.1 → 10.3.0  
						
						... 
						
						
						
						Improvements
------------
* Ensure the reset password token can be used only once.
* Change JWT access token structure to use standard `sub` claim instead of `user_id`.
    * ⚠ Existing JWT will be invalidated
* Change verify and reset password tokens structure to use standard `sub` claim instead of `user_id`. 
						
						
							
 
						
					 
					
						2023-01-16 11:48:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b18389439a 
					 
					
						
						
							
							Use "sub" claim instead of "user_id" for JWT, verify and reset password tokens  
						
						
						
						
							
						
					 
					
						2023-01-16 11:44:42 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						794133c4fe 
					 
					
						
						
							
							Ensure reset password token is single use  
						
						
						
						
							
						
					 
					
						2023-01-16 11:38:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						51ec83b628 
					 
					
						
						
							
							Add Python 3.11 to project classifiers  
						
						
						
						
							
						
					 
					
						2023-01-16 11:18:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						33a7bb3fd9 
					 
					
						
						
							
							Update SQLAlchemy examples  
						
						
						
						
							
						
					 
					
						2023-01-16 11:08:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1f64c943a3 
					 
					
						
						
							
							Use Ruff linter  
						
						
						
						
							
						
					 
					
						2023-01-16 10:27:01 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4daa263326 
					 
					
						
						
							
							Fix typing  
						
						
						
						
							
						
					 
					
						2023-01-16 10:20:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0b50757a9b 
					 
					
						
						
							
							Fix typos in configuration/authentication docs ( #1145 )  
						
						
						
						
							
						
					 
					
						2023-01-12 14:23:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1104460533 
					 
					
						
						
							
							Bump version 10.2.0 → 10.2.1  
						
						... 
						
						
						
						Improvements
------------
* Bump `httpx-oauth >=0.4,<0.11`
    * With `httpx-oauth >= 0.10`, the OAuth2 client may be not able to return an email address depending on the OAuth Provider. In this case, the error `OAUTH_NOT_AVAILABLE_EMAIL` is raised during `/callback`. [[Documentation](https://fastapi-users.github.io/fastapi-users/10.2/usage/routes/#get-callback )]
* Enable Python 3.11 support in CI 
						
						
							
 
						
					 
					
						2022-11-04 09:47:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e760a8594a 
					 
					
						
						
							
							Enable Python 3.11 in test matrix  
						
						
						
						
							
						
					 
					
						2022-11-04 09:42:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aa4c5ef672 
					 
					
						
						
							
							Add doc about new OAuth callback error  
						
						
						
						
							
						
					 
					
						2022-11-04 09:40:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c91e7657db 
					 
					
						
						
							
							Update for httpx-oauth >= 0.10 where account_email can be None  
						
						
						
						
							
						
					 
					
						2022-11-04 09:35:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						08860167d1 
					 
					
						
						
							
							docs: add sandalwoodbox as a contributor for doc ( #1120 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2022-11-04 09:13:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c8ae5c1cc2 
					 
					
						
						
							
							Corrected reset password error response docs ( #1116 )  
						
						
						
						
							
						
					 
					
						2022-11-04 09:13:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						baca17d9e0 
					 
					
						
						
							
							Bump pyjwt[crypto] from 2.5.0 to 2.6.0 ( #1105 )  
						
						... 
						
						
						
						Bumps [pyjwt[crypto]](https://github.com/jpadilla/pyjwt ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.5.0...2.6.0 )
---
updated-dependencies:
- dependency-name: pyjwt[crypto]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2022-10-25 08:04:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						31ea8e4bc2 
					 
					
						
						
							
							Bump version 10.1.5 → 10.2.0  
						
						... 
						
						
						
						New features
------------
* Trigger custom logic after user login with `on_after_login`. [[Documentation]()] Thanks @antont 🎉 
Improvements
------------
* Bump dependencies:
    * `email-validator >=1.1.0,<1.4`
    * `pyjwt[crypto] ==2.5.0`
* Use Hatch for environment and package management 
						
						
							
 
						
					 
					
						2022-10-18 09:02:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a199a6bed4 
					 
					
						
						
							
							Add GitHub release step to CI  
						
						
						
						
							
						
					 
					
						2022-10-18 08:59:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c42e95c24b 
					 
					
						
						
							
							Bump dependencies  
						
						
						
						
							
						
					 
					
						2022-10-18 08:51:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						586601d43d 
					 
					
						
						
							
							Bump codecov/codecov-action in CI  
						
						
						
						
							
						
					 
					
						2022-10-18 08:41:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						827d7c05e8 
					 
					
						
						
							
							Fix docs CI  
						
						
						
						
							
						
					 
					
						2022-10-18 08:40:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						80eb0ab84a 
					 
					
						
						
							
							Fix lint-check command  
						
						
						
						
							
						
					 
					
						2022-10-18 08:37:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9186b5382 
					 
					
						
						
							
							Fix typing of samesite paramater in CookieTransport  
						
						
						
						
							
						
					 
					
						2022-10-18 08:36:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						21f30229dc 
					 
					
						
						
							
							Use hatch for package management  
						
						
						
						
							
						
					 
					
						2022-10-18 08:32:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8208307955 
					 
					
						
						
							
							docs: add antont as a contributor for code, and doc ( #1098 )  
						
						... 
						
						
						
						* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 
						
						
							
						
					 
					
						2022-10-18 08:02:54 +02:00