Skip to content

v0.0.2

Compare
Choose a tag to compare
@fspijkerman fspijkerman released this 31 Mar 15:44
· 12 commits to master since this release

dash-cognito-auth v0.0.2

Many thanks to @MauriceBrg for making this release possible!

Changes

  • Add Github Pipeline to run automated tests on Windows, Linux, and MacOS with a combination of Python 3.10, 3.11, 3.12
  • Require Python 3.10 as a minimum supported version (3.9 will be EOL later this year and 3.10 has a few convenience features)
  • Adjust the minimum required versions in the setup.py to match those that were listed in requirements.txt
  • Add requirements-dev.txt
  • Fixes #2
  • Fixes #3
  • Add test fixtures for app without auth, app with auth and app with auth that's always logged in
  • Refactor existing test to use fixture
  • Add unit tests for basic flows:
    • Expect login redirect when not logged in
    • Expect cognito redirect when not logged in and hitting the local authorization endpoint
    • Expect home redirect after cognito authorization response is processed
  • Add end to end / integration test that covers the following scenario:
    • Navigate to local website
    • Redirect to local cognito endpoint
    • Redirect to remote cognito endpoint
    • Login with predefined credentials, redirect with authorization code
    • Verification of authorization code at local cognito endpoint
    • Redirect to Homepage
    • Test that correct user is considered logged in
  • Formatted code consistently with black