Skip to content

Commit

Permalink
Updated Duo process to handle new "universal" prompt
Browse files Browse the repository at this point in the history
There weren't a huge number of changes; the biggest was that some of the
form fields are much easier to extract, now that it seemingly uses a
simplified React codebase. There was a new "exit" endpoint that needs to
be called that triggers the callback into SAML.
  • Loading branch information
meson800 committed Mar 27, 2024
1 parent d562872 commit f6d41cc
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 180 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.0] - 2024-03-26
### Updated
- Library updated to be compatible with the new "universal" Duo prompt, which,
among other things, involves a new `/exit` endpoint to get back to Touchstone.

## [0.6.0] - 2023-09-15
### Updated
- Duo updated to use a second POST instead of a redirect to load some params.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ having to re-install after each update.
## Changelog
See the [CHANGELOG](CHANGELOG.md) for detailed changes.
```
## [0.6.0] - 2023-09-15
## [0.7.0] - 2024-03-26
### Updated
- Duo updated to use a second POST instead of a redirect to load some params.
Library updated to be compatible with this new approach
- Library updated to be compatible with the new "universal" Duo prompt, which,
among other things, involves a new `/exit` endpoint to get back to Touchstone.
```

## License
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='touchstone-auth',
version='0.6.0',
version='0.7.0',
author='Christopher Johnstone',
author_email='[email protected]',
description='Access Touchstone SSO sites without a web browser.',
Expand All @@ -28,7 +28,7 @@
install_requires=[
'beautifulsoup4',
'requests',
'requests-pkcs12==1.15',
'requests-pkcs12==1.24',
'requests-kerberos',
'typing-extensions'
]
Expand Down
Loading

0 comments on commit f6d41cc

Please sign in to comment.