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

[Backport 6.1] Make SSO login failure event emit more specific errors (#6108) #6204

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

kimlisa
Copy link
Contributor

@kimlisa kimlisa commented Mar 29, 2021

backport of #6108 to v6

Copy link
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bot.

Purpose is to allow users with admin privilege that are able to view audit logs, 
to be able to debug SSO login failures from the UI as much as possible

* Return generic error message for sso console login failures to hide
  sensitive data from reaching client. Previously errors were returning as
  empty messages b/c of a trace bug.
* Remove emit event for createOIDCClient to allow outer caller to
  emit event and prevent double emits on error.
* Temporarily direct users to check teleports log on errors that come back 
  empty to tsh client.
@kimlisa kimlisa force-pushed the lisa/backport-sso-emit-errors branch from 07dfbc6 to 2d860dd Compare March 29, 2021 22:59
@kimlisa kimlisa merged commit 18f5f1f into branch/v6 Mar 29, 2021
@kimlisa kimlisa deleted the lisa/backport-sso-emit-errors branch March 29, 2021 23:45
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.

3 participants