Dash-cognito-auth

Latest version: v0.0.5

Safety actively analyzes 622918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.5

What's Changed
* Add configurable session attributes by MauriceBrg in https://github.com/fspijkerman/dash-cognito-auth/pull/16


**Full Changelog**: https://github.com/fspijkerman/dash-cognito-auth/compare/v0.0.4...v0.0.5

0.0.4

What's Changed
* Fixes issue with URL prefixes 12 and adds support for logout functionality by MauriceBrg in https://github.com/fspijkerman/dash-cognito-auth/pull/13
* Add example app, clean up Readme a bit by MauriceBrg in https://github.com/fspijkerman/dash-cognito-auth/pull/14


**Full Changelog**: https://github.com/fspijkerman/dash-cognito-auth/compare/v0.0.3...v0.0.4

0.0.3

Bugfixes
* Fix URL Prefixes being ignored (https://github.com/fspijkerman/dash-cognito-auth/issues/9) by MauriceBrg in https://github.com/fspijkerman/dash-cognito-auth/pull/10

Features
* Add support for custom domains (https://github.com/fspijkerman/dash-cognito-auth/issues/6) and code clean up by MauriceBrg in https://github.com/fspijkerman/dash-cognito-auth/pull/11

Documentation
* Improved docstrings for the CognitoOAuth class by MauriceBrg

**Full Changelog**: https://github.com/fspijkerman/dash-cognito-auth/compare/v0.0.2...v0.0.3

0.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 https://github.com/fspijkerman/dash-cognito-auth/issues/2
- Fixes https://github.com/fspijkerman/dash-cognito-auth/issues/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

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.