Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for Google Authenticator status #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

netsiphon
Copy link

Noticed that post_auth throws a NoneType exception at if crstate.get('challenge'): if Google Authenticator is enabled. These changes allow for assumption of Globally enabled Google Auth with user/group disable property for transitioning to Duo as well as just mixing the two if required.

Google Authenticator is not compatible with Duo as a post_auth provider. If enabled the crstate object will be undefined when the user authentication is passed to this script.
Post_Auth documentation recommends using authret['user'] when dealing with LDAP/AD. Not mentioned though is key re-negotiation can fail with username inconsistencies provided by user (client-side) unless you do an LDAP remap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant