Project

General

Profile

Actions

Bug #21024

closed

Oauth login error are not logged

Added by François ARMAND almost 2 years ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

If you have an error when login with OIDC/Oauth2, that the login is correct on the IdP, but that rudder does not know the user (missing from rudder-user.xml for ex), then you get a blank "401 unauthorized" page in place of rudder login page:

Moreover, the login error is only logged at TRACE level:

[2022-04-25 12:24:23+0200] TRACE org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter - Failed to process authentication request
bootstrap.liftweb.RudderProviderManager$1: User with username 'francois@rudder.io' was not found

The display part may need an adaptation between 6.2 and 7.x, even if the backend will likely be the same.


Files

clipboard-202204251220-rshxo.png (32.8 KB) clipboard-202204251220-rshxo.png François ARMAND, 2022-04-25 12:20
Actions

Also available in: Atom PDF