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

org.apache.catalina.authenticator.AuthenticatorBase.invoke Failed authenticate() test #38

Open
mkosla opened this issue Aug 27, 2020 · 1 comment
Assignees
Labels

Comments

@mkosla
Copy link

mkosla commented Aug 27, 2020

I am having trouble successfully authenticating users on my server. I've enabled FINE logging and have noticed the following entries:

org.bsworks.catalina.authenticator.oidc.BaseOpenIDConnectAuthenticator.performAuthentication authentication of "" was successful

org.bsworks.catalina.authenticator.oidc.BaseOpenIDConnectAuthenticator.performAuthentication redirecting to original URI: /

org.apache.catalina.authenticator.AuthenticatorBase.invoke Failed authenticate() test

By my interpretation this is telling me that I'm authenticating using tomcat-oidcauth, but then failing the default authenticator. Is this correct? If so, are there any suggestions on how to debug this issue on my end?

@levahim levahim self-assigned this Sep 11, 2020
@levahim
Copy link
Contributor

levahim commented Sep 11, 2020

Those username and URI strings in your logs are not supposed to be empty. You're correct by approaching the problem by enabling FINE logging and inspecting the logs. My recommendation, look carefully in your IdP configuration both on the webapp side and how your app is configured on the IdP side. Things like client IDs, allowed redirect URLs--all that stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants