Skip to content

[Bug]: OpenID username case-sensitive #1896

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

Open
2 tasks done
stich86 opened this issue Feb 16, 2025 · 0 comments
Open
2 tasks done

[Bug]: OpenID username case-sensitive #1896

stich86 opened this issue Feb 16, 2025 · 0 comments
Labels
support request request for free support. Check out our support policy

Comments

@stich86
Copy link

stich86 commented Feb 16, 2025

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration issue.
  • This issue is not already reported on Github (I've searched it).

Bug description

Hello,

i've configured my SFTPGo to do authentication using OIDC with Microsoft Entra ID, and using email as "username".
My tenant is a nightmare, because lot of people have username and emails with some letters or the a part in upper case, so if I configure the email as username into SFTPGo in lowercase, this will not work because it doesn't match the claim recevived from Entra.

Is it possible to make this case insensitive?

I currently cannot replace all emails in my tenant, until I understand what can this change break..

Thanks

Steps to reproduce

Just configure an user with upper case email on Entra, and lower case on SFTPGo, after authentication it will give error because it doesn't find the matched user on the SFTPGo DB

Expected behavior

Login without check username case

SFTPGo version

v2.6.4

Data provider

N/A

Installation method

Community Deb package

Configuration

config

Relevant log output

What are you using SFTPGo for?

Medium business

Additional info

No response

@stich86 stich86 added the bug Something isn't working label Feb 16, 2025
@drakkan drakkan added support request request for free support. Check out our support policy and removed bug Something isn't working labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support request request for free support. Check out our support policy
Projects
None yet
Development

No branches or pull requests

2 participants