owncloud / owncloud/ocis

No proper error message if LDAP lookup fails

Open
#6,024 2 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

If the lookup in LDAP based on the `PROXY_USER_OIDC_CLAIM` doesn't return a user there is no proper error message in the proxy log and the user is stuck in a redirection loop.

## Steps to reproduce

Steps to reproduce the behavior:

1. Have a setup with OIDC and LDAP
2. Configure LDAP and OIDC in a way that the `PROXY_USER_OIDC_CLAIM` doesn't match between the token value and the user values in LDAP

## Expected behavior
A meaningful error message in the proxy log and no redirect loop.

## Actual behavior
No meaningful error message in the proxy log, just the user service log indicated that the service could find users for some id.

## Setup

3.0.0-alpha.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.