Skip to content

Tags: codemation/easyauth

Tags

2.03

Toggle 2.03's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bumped httptools (#108)

* bumped httptools

* bumped httptools

* bumped httptools, moved to BASE req

---------

Co-authored-by: Joshua (codemation) <joshua.jamison@nostos-genomics.com>

2.0.3

Toggle 2.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bumped httptools (#108)

* bumped httptools

* bumped httptools

* bumped httptools, moved to BASE req

---------

Co-authored-by: Joshua (codemation) <joshua.jamison@nostos-genomics.com>

2.0.2

Toggle 2.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Refactor token validation (#107)

* replaced global store usage with is_valid_token rpc method

* removed global store rpc proxy services

* removed quorum usage & setup

* replaced new_user checks with count & soft saving if rbac model instances

* replaced token store usage with self.parent.is_valid_token

* replaced token store usage with new is_valid_token shared via rpc, allowing EasyAuthServer to scale horizontally

* bumpted pydbantic

* bumpted pydbantic

* removed shutdown step from test cleanup

---------

Co-authored-by: Joshua (codemation) <joshua.jamison@nostos-genomics.com>

2.0.1

Toggle 2.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Security fix - CVE-2022-39227 (#95)

* updated security docs, typos

* updated min python-jwt version allowed

---------

Co-authored-by: Joshua (codemation) <joshua.jamison@nostos-genomics.com>

2.0.0

Toggle 2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix #88 importing config & Add Support for FastAPI 0.92.0 +

* fixed issue preventing /import from /export config output. Added tests validating import/export apis

* Bumpted min supported pydbantc version & allowing >= version 0.0.22

* added event loop fixture

* calling include_router from EasyAuthAPIRouter init

* include routers is now a normal def & removed from on_event startup

* added self.include_routers to startup_tasks called by lifecycle startup

* using httpx AsyncClient & manually calling lifelcycle startup coroutine server.auth.startup_tasks

* converted client usage to AsyncClient

* removed action / role verification from api setup

* added logging to global_store_update ops

* quorum establishes leader, but not RPC secret

* reverted redundant include router statement

* fixed self.global_store_update references, key_path ENV is now optional allowing local path usage. Fixed manager_proxy cleanup within shutdown_auth_server method. RPC_SECRET is now set from auth_secret

* pinned max fastapi version

* pinned max fastapi version

* fixed lifecycle handling via LifespanManager

* added library ensuring lifespan usage in testing

* reverted client to non-async

* bumped pytest-asyncio, pytest verisons

* bumped uvicorn, allowed multipart, fastapi-mail bcrypt versions

* added event loop & AsyncClient Usage

* using async client

* added httpx

* passing fastapi app as sever along with test_client

* test_client, server returned as tuple

* adding pytest.ini

* added clean db & tables_setup() to auth_test_server fixture, post auth server setup

* added explicit logging for post config import checks

* reducing concurrent tests

* added testing flag to prevent rpc proxies from being created during testing

* added testing=True to prevent rpc proxy usage in testing

* modified order of building container used by client tests

* adjusted how post import data is validated

* added previously tested python versions 3.7+

* removed 3.10 testing for mysql due to lack of support

* converted .create into normal def, added middleware setup to __init__ tasks allowing latest release of FastAPI releases

* moved EasyAuthServer.create & EasyAuthAPIRouter.create outside of startup def as auth_server is now defined outside running event loop constraint

* updated with auth_test_server_and_clean_db fixture

* allowing latest fastapi release

* moved EasyAuthServer.create out of startup task

* Updated EasyAuthClient.create as normal def, to be used before event loop creation

* rpc_server attribute assigned from setup coroutine

* updated EasyAuthClient.create usage outside of startup task

* updated documentation with new EasyAuthServer / EasyAuthClient .create() usage outside of startup events

* updated fastapi versions allowed, & min pydbantic version

* updated min pydbantic

* moved EasyAuthServer.create outside of startup lifecycle

---------

Co-authored-by: Joshua (codemation)

1.0.30

Toggle 1.0.30's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Default value for when default_permissions argument is not provided (#86

)

* Default value for when default_permissions is not provided

* Fix typos

* Update isort version to pass CI

* Ran precommits

---------

Co-authored-by: Dylan LEROUX <dylan.LEROUX@3ds.com>

1.0.29

Toggle 1.0.29's commit message
pinned easyadmin==0.170

1.0.28

Toggle 1.0.28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #84 from codemation/update-easyadmin-version

updated min version easyadmin

1.0.27

Toggle 1.0.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
76 - Fixed conversion of token cookie into authorizaiton bearer token… (

#77)

* 76 - Fixed conversion of token cookie into authorizaiton bearer token on request

* bumped min fastapi version

* 76 - Fixed conversion of token cookie into authorizaiton bearer token on request

* updated python build tests 3.10 version

* updated python build tests 3.10 version

* fixed precommit flake8 repo. Fixed path check in cookie token -> bearer token conversion in EasyAuthClient

* precommit re run formatting

Co-authored-by: Joshua (codemation) <joshua.jamison@nostos-genomics.com>

1.0.26

Toggle 1.0.26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #74 from codemation/fix-service-token-generation

fix get_user_permissions service model usage