573 Commits

Author SHA1 Message Date
f63134bacf Tweak base DB typing 2022-05-02 17:59:45 +02:00
2cf0ebcdaa Improve Strategy typing 2022-05-01 13:57:26 +02:00
b6d7c6a621 Improve generic typing 2022-05-01 13:48:06 +02:00
7093c9e38a Make ID a generic instead of forcing UUIDs 2022-05-01 11:18:27 +02:00
87ac51a7bd Revamp AccessToken DB strategy to adopt generic model approach 2022-04-29 15:45:14 +02:00
e271cc1352 Revamp OAuth account model management 2022-04-29 15:21:52 +02:00
83ca318ceb Harmonize schema variable naming to avoid confusions 2022-04-29 14:02:44 +02:00
056b0453a2 Remove UserDB Pydantic schema 2022-04-29 13:53:16 +02:00
923aeb970e Use a generic Protocol model for User instead of Pydantic 2022-04-29 13:49:21 +02:00
e29633204d docs: add KentonParton as a contributor for financial (#963)
* 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-04-23 09:24:35 +02:00
f9b2941e3c Fix Fief presentation 2022-04-21 11:57:09 +02:00
b9f4f739af Fix Fief beta button 2022-04-21 11:52:39 +02:00
af3f9c9d59 Add Fief presentation on README 2022-04-21 11:48:42 +02:00
eb05ee3e03 docs: add ricfri as a contributor for bug (#961)
* 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-04-21 11:25:49 +02:00
05042b5a1e Bump version: 9.3.0 → 9.3.1 v9.3.1 2022-04-21 11:23:10 +02:00
bce37a1116 Fix unit test following httpx-oauth update 2022-04-21 11:20:32 +02:00
7fc3ed185d Bump dependencies 2022-04-21 11:07:36 +02:00
18954cc7bd Add simple solution to update of oauth with more consistent use of identifiers (#953) 2022-04-21 11:06:21 +02:00
6ba70bdbc6 Bump version: 9.2.6 → 9.3.0 v9.3.0 2022-03-22 15:12:19 +01:00
20682ec4e8 Add docs for PasswordHelper customization 2022-03-22 14:46:12 +01:00
7f6d038d91 Create a class helper to let configure the password hasher dynamically 2022-03-22 14:16:49 +01:00
4f5676b979 docs: add jtv8 as a contributor for code (#947)
* 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-03-22 11:29:58 +01:00
5d8160669c Define deps only in pyproject.toml using flit 2022-03-22 11:24:51 +01:00
b054383fbf Enable RS256/ES256 and other algorithms for JWT strategy (#943)
* Implement RS256 for JWT auth

* Update docs with RS256 example

* Added ES256 tests

* Format with isort and black

* Removed example RSA key pair (so as not to tempt people to use it)

* Added pyjwt[crypto] to requirements

* Removed pycryptodome by hardcoding example keys

* Removed unnecessary Tuple import from typing
2022-03-22 10:28:00 +01:00
0db2ce9d9e Bump version: 9.2.5 → 9.2.6 v9.2.6 2022-03-16 09:05:43 +01:00
ff7c3957e7 Bump dependencies 2022-03-16 08:44:18 +01:00
06ad0371fb Bump version: 9.2.4 → 9.2.5 v9.2.5 2022-02-18 11:11:55 +01:00
92ef295cde Add typecheck to build steps 2022-02-18 11:10:10 +01:00
e79b34ed35 Fix #922: allow DependencyCallable type to be generators 2022-02-18 11:04:56 +01:00
ac0b16f8d7 Bump dependencies 2022-02-18 11:01:43 +01:00
e6911cd55f docs: add gaganpreet as a contributor for code (#919)
* 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-02-11 08:08:17 +01:00
04e432acad Unique names for routes (#916) 2022-02-11 08:07:45 +01:00
29cfe8ae5e Bump version: 9.2.3 → 9.2.4 v9.2.4 2022-02-07 08:57:19 +01:00
63b96a42c3 Use new Flit style metadata 2022-02-07 08:54:40 +01:00
396324b5ac Move config to pyproject.toml 2022-02-07 08:49:31 +01:00
020cb041d3 Fix #904: Wrong model config in MongoDB OAuth example 2022-02-07 08:39:20 +01:00
ef6a23407d docs: add mekanix as a contributor for platform (#907)
* 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-02-07 08:36:07 +01:00
5ed4538e32 Generate setup.py file (#896) 2022-02-07 08:34:50 +01:00
09300fd691 docs: add lthurner as a contributor for doc (#902)
* 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-02-02 14:50:39 +01:00
913af971fe Fix wrong import in MongoDB strategy example (#901) 2022-02-02 14:50:27 +01:00
e3923d14b9 Bump version: 9.2.2 → 9.2.3 v9.2.3 2022-02-01 09:29:58 +01:00
9b1f9bbd0f Fix SQLAlchemy examples 2022-02-01 09:25:44 +01:00
5f3d4fa044 Update unit tests running instructions 2022-02-01 08:56:38 +01:00
d9c76500f2 Bump dependencies 2022-02-01 08:56:03 +01:00
0583d7c88e Bump version: 9.2.1 → 9.2.2 v9.2.2 2022-01-15 11:22:59 +01:00
533504634f Improve dependencies typing 2022-01-15 11:08:49 +01:00
c43303c386 docs: add Ae-Mc as a contributor for code, bug (#867)
* 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-01-15 10:51:20 +01:00
e6125905e0 Fix #865 (#866)
* Fix #865

* Add # pragma: no cover to all try blocks

* Fix same issue with root module
2022-01-15 10:50:06 +01:00
0a8661b762 Bump version: 9.2.0 → 9.2.1 v9.2.1 2022-01-10 12:58:48 +01:00
7138143923 Patch 2 (#855)
* logout response sets proper response headers

logout response is using starlette delete cookie. In starlette the samesite and secure attributes are not in the header but are needed to set the removed cookie client side. Implementing set_cookie with an empty cookie-value and a max_age of 0 will set a new expired cookie by the client.

related issue #846

* fixed linting

Co-authored-by: Pentem <martijn.pentenga@movares.nl>
2022-01-10 09:05:36 +01:00