Commit Graph

3 Commits

Author SHA1 Message Date
dependabot-preview[bot]
4a7f9e750f Bump fastapi from 0.46.0 to 0.47.1 (#92)
* Bump fastapi from 0.46.0 to 0.47.1

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.46.0 to 0.47.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Changelog](https://github.com/tiangolo/fastapi/blob/master/docs/history-design-future.md)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.46.0...0.47.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add Request in event_handlers arguments

* Bump fastapi

Co-authored-by: François Voron <fvoron@gmail.com>
2020-01-20 11:01:04 +01:00
François Voron
fff167043a Fix authorize not using arbitrary redirect url 2020-01-17 16:18:49 +01:00
François Voron
88b133d41c Implement OAuth2 flow (#88)
* Move users router in sub-module

* Factorize UserRouter into EventHandlersRouter

* Implement OAuth registration/login router

* Apply isort/black

* Remove temporary pytest marker

* Fix httpx-oauth version in lock file

* Ensure ON_AFTER_REGISTER event is triggered on OAuth registration

* Add API on FastAPIUsers to generate an OAuth router

* Improve test coverage of FastAPIUsers

* Small fixes

* Write the OAuth documentation

* Fix SQL unit-tests by avoiding collisions in SQLite db files
2020-01-17 11:43:17 +01:00