François Voron
92c523c379
Upgrade to pyjwt==2.0.0
2020-12-24 09:47:34 +01:00
François Voron
7e2ca9551e
Bump version: 3.1.1 → 3.1.2
2020-12-23 17:35:30 +01:00
François Voron
7186554e30
Bump version: 3.1.0 → 3.1.1
2020-11-30 14:12:00 +01:00
François Voron
31168ce9d3
Fix #401 : missing typing-extensions dependency
2020-11-30 13:44:19 +01:00
roywes
8e82b1e172
Use Protocol from typing if available ( #402 )
...
Some of the 'experimental' definitions in typing_extensions are added to the typing module in time.
This PR prefers the stdlib imports when available, falling back to typing_extensions as necessary
2020-11-30 13:09:35 +01:00
François Voron
253e7e0e80
Bump version: 3.0.7 → 3.1.0
2020-11-22 10:11:09 +01:00
François Voron
435f29331a
Fix #391 : put user creation logic in a importable function
2020-11-22 09:57:03 +01:00
François Voron
60c618a8a3
Bump version: 3.0.6 → 3.0.7
2020-11-17 08:38:34 +01:00
François Voron
7d5e6faffb
Bump version: 3.0.5 → 3.0.6
2020-10-14 14:16:36 +02:00
lill74
97cc799737
Add SQL String length in SQLAlchemy for MySQL compatibility
2020-09-30 14:48:51 +02:00
SelfhostedPro
8adce74cd9
added samesite option for cookie authentication ( #337 )
...
* added samesite option for cookie authentication
* formatted with black and added documentation (grabbed from starlette.io documentation)
2020-09-30 07:27:25 +02:00
François Voron
531fdeed2d
Bump version: 3.0.4 → 3.0.5
2020-08-26 15:51:42 +02:00
François Voron
9e499791de
Bump version: 3.0.3 → 3.0.4
2020-08-13 14:03:40 +02:00
François Voron
657df06e53
Bump version: 3.0.2 → 3.0.3
2020-07-21 15:26:13 +02:00
François Voron
28f4eed5e5
Bump version: 3.0.1 → 3.0.2
2020-07-20 16:35:26 +02:00
François Voron
6334a4b911
Fix #261 : improve email query in MongoDB
2020-07-20 16:18:53 +02:00
François Voron
1b6c832b28
Bump version: 3.0.0 → 3.0.1
2020-07-13 14:20:50 +02:00
François Voron
0134a43fad
Bump version: 2.0.1 → 3.0.0
2020-07-09 18:44:50 +02:00
François Voron
b7dbdf6ea6
Fix #245 : handle email as case insensitive while retrieving user in DB ( #250 )
...
* Add unit tests to enforce email case insensitivity
* Handle email as case insentitive while retrieving user in DB
* Apply isort/black
* Add migration doc
2020-07-09 18:44:25 +02:00
François Voron
e63a67ead3
Bump packages and apply black
2020-07-09 17:28:41 +02:00
François Voron
1b24d307a8
Bump version: 2.0.0 → 2.0.1
2020-06-27 17:23:13 +02:00
martincolladofab
efad0e0fef
fix "Swagger issue for endpoints register & update" ( #233 )
...
* fix: Change on the inheritance model, according to the documentation for the request body parameters. #171
* fix: Changes on the documentation examples to fix the inheritance problem when passing the User class (for create or update only passing the pydantic one) #171
* fix: Changes on the documentation examples to fix the inheritance problem when passing the User class (for create or update only passing the pydantic one) #171
* Put back inheritance on update model and factorize create_update_dict methods
Co-authored-by: François Voron <fvoron@gmail.com >
2020-06-27 17:19:53 +02:00
François Voron
111af6e2eb
Bump version: 1.1.1 → 2.0.0
2020-06-15 14:35:30 +02:00
Eric Lopes
75147a7071
fix documentation tokenUrl ( #210 )
...
* fix documentation tokenUrl
* Change default login tokenUrl
2020-06-15 14:33:52 +02:00
Eric Lopes
224a311792
fix "Authorization: Bearer Undefined" on Swagger ( #213 )
...
* fix "Authorization: Bearer Undefined" on Swagger
* updating pytest to recognize access_token
* fix pytest KeyError
* adding changes requested (add token_type to documentation and tests)
* fix documentation
2020-06-15 14:04:03 +02:00
François Voron
6ff5adfdf2
Fix import error when OAuth is not installed
2020-06-02 07:57:42 +02:00
François Voron
3fab5e5bbb
Bump version: 1.1.0 → 1.1.1
2020-05-26 16:36:58 +02:00
François Voron
1c20b4c58a
Bump version: 1.0.0 → 1.1.0
2020-05-25 08:13:50 +02:00
François Voron
9508768502
Add get_optional_* dependency callables
2020-05-25 08:13:42 +02:00
François Voron
71ca7d85ed
Remove default router on FastAPIUsers
2020-05-24 10:50:14 +02:00
François Voron
ee8908e066
Bump version: 0.8.1 → 1.0.0
2020-05-24 10:29:56 +02:00
François Voron
7721f8dcc1
Revamp authentication routes structure ( #201 )
...
* Fix #68 : use makefun to generate dynamic dependencies
* Remove every Starlette imports
* Split every routers and remove event handlers
* Make users router optional
* Pass after_update handler to get_users_router
* Update documentation
* Remove test file
* Write migration doc for splitted routers
2020-05-24 10:18:01 +02:00
François Voron
0a0dcadfdc
Use real UUID for User id. and OAuthAccount id. ( #198 )
...
* Use UUID for user id and oauth account id
* Update documentation for UUID
* Tweak GUID definition of SQLAlchemy to match Tortoise ORM one
* Write migration doc
2020-05-21 16:40:33 +02:00
François Voron
d814b48280
Bump version: 0.8.0 → 0.8.1
2020-05-19 08:02:20 +02:00
François Voron
6292c15d77
Bump version: 0.7.3 → 0.8.0
2020-04-25 14:36:07 +02:00
François Voron
a9ee467518
Remove list endpoint and related methods
2020-04-25 11:46:20 +02:00
dependabot-preview[bot]
639217bb08
Make unit tests full async ( #160 )
...
* Bump pytest-asyncio from 0.10.0 to 0.11.0
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Bump pytest-asyncio from 0.10.0 to 0.11.0
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Convert tests to full async
* Change deprecated yield_fixture
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com >
2020-04-25 11:34:11 +02:00
François Voron
985602fbd1
Bump version: 0.7.2 → 0.7.3
2020-04-09 17:14:04 +02:00
François Voron
b5d647a2a8
Bump version: 0.7.1 → 0.7.2
2020-04-04 10:10:29 +02:00
François Voron
1cde311582
Bump version: 0.7.0 → 0.7.1
2020-03-05 07:43:00 +01:00
François Voron
3e41826c85
Bump version: 0.6.6 → 0.7.0
2020-03-01 08:29:22 +01:00
François Voron
ce2d96fd82
Bump version: 0.6.5 → 0.6.6
2020-02-07 08:47:59 +01:00
François Voron
523ecddd06
Bump version: 0.6.4 → 0.6.5
2020-02-05 09:43:52 +01:00
Beau Breon
e58f18582e
Fix tortoise import error ( #97 )
...
I was getting an import error using tortoise 0.1.1: `ImportError: cannot import name 'Model' from 'tortoise'`. These few changes seemed to have resolved the issue.
2020-02-05 09:20:28 +01:00
François Voron
74d1eaea64
Bump version: 0.6.3 → 0.6.4
2020-02-03 10:55:42 +01:00
François Voron
9353bb79cb
Implement on_after_update event handle
2020-02-03 10:48:53 +01:00
François Voron
05b1df9a16
Implement logout route
2020-02-03 10:12:33 +01:00
François Voron
d1006667d0
Bump version: 0.6.2 → 0.6.3
2020-01-20 12:22:05 +01:00
François Voron
325882436c
Fix on_after_register handler not being passed Request with OAuth
2020-01-20 12:22:02 +01:00
François Voron
2585b4fd1c
Bump version: 0.6.1 → 0.6.2
2020-01-20 11:01:36 +01:00