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

fix: [Issue 582] Log successful and unsuccessful sign in attempts #588

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

avinashdhanshetty
Copy link

  • Added Info and Error logs upon successful and unsuccessful sign-in attempts
  • These logs may help for debugging/auditing/security reviews.
  • Sample logs as following:
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestSessionsCrud$ github.com/crewjam/saml/samlidp
=== RUN   TestSessionsCrud

2025/02/27 19:48:23 User 'alice' authenticated successfully
2025/02/27 19:48:23 ERROR: User 'unknown' doesn't exists
2025/02/27 19:48:23 ERROR: Invalid password for user 'alice'
--- PASS: TestSessionsCrud (0.22s)
PASS
ok      github.com/crewjam/saml/samlidp 0.475s

- Added Info and Error logs upon successful and unsuccessful sign-in attempts
@avinashdhanshetty avinashdhanshetty changed the title fix: Log successful and unsuccessful sign in attempts #582 fix: [Issue 582] Log successful and unsuccessful sign in attempts Feb 28, 2025
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