ef4a54c204
Allow lifetime_seconds to be None to get session cookies
2021-03-19 18:19:58 +01:00
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
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
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
05b1df9a16
Implement logout route
2020-02-03 10:12:33 +01:00
49deb437a6
Fix #42 : multiple authentication backends ( #47 )
...
* Revamp authentication to allow multiple backends
* Make router generate a login route for each backend
* Apply black
* Remove unused imports
* Complete docstrings
* Update documentation
* WIP add cookie auth
* Complete cookie auth unit tests
* Add documentation for cookie auth
* Fix cookie backend default name
* Don't make cookie return a Response
2019-12-04 13:32:49 +01:00
1811d4aa2d
Add pytest markers and skip procedure for MongoDB tests
2019-11-02 14:09:43 +01:00
658161518a
Add error codes on routes ( #34 )
...
Fix #33
2019-10-31 10:10:53 +01:00
f2892aa378
#5 Improve test coverage ( #6 )
...
* Improve test coverage of BaseUserDatabase
* Improve unit test isolation
* Improve coverage of router and authentication
2019-10-15 07:54:53 +02:00
49daeff869
Close #3 : forgot/reset password routes
2019-10-13 12:05:10 +02:00
76bb7bf6a5
Implement variant of dep injections to get active/super user
2019-10-11 08:09:47 +02:00
ef6dd2c39c
Implement user-facing API
2019-10-10 18:55:11 +02:00
0112e700ac
Improve typing and make User pydantic models dynamic
2019-10-10 13:37:52 +02:00
d781a41872
Install Black formatter
2019-10-09 16:52:06 +02:00
9f04b7cc89
Ensure hashed_password is not output on register success
2019-10-08 17:23:14 +02:00
06dd8ad22e
Implement JWT authentication
2019-10-08 17:18:38 +02:00