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

[Bug]: SSO OIDC Authentication failure #1052

Closed
tuxinzide opened this issue Oct 29, 2024 · 6 comments
Closed

[Bug]: SSO OIDC Authentication failure #1052

tuxinzide opened this issue Oct 29, 2024 · 6 comments
Labels
bug Something isn't working needs triage

Comments

@tuxinzide
Copy link

Bug description

Hello, We have Azure Entra as our idP and have configured all values as required. During the SSO login process, we can see the authentication requests being made to the idP and is being successful but we are dropped back to the login screen with the error message "Missing Email" from Netdata.

image

Not sure where to look to troubleshoot this. Please let me know what information i can provide to resolve this. Thanks!

Expected behavior

SSO Authentication completed and dropped into Netdata console.

Steps to reproduce

  1. Enable OIDC with required values.
  2. Delegate the following permissions; openid, email, profile.
  3. Add DNS record as required.
  4. Browse to app.netdata.cloud and select SSO login option.

Screenshots

No response

Error Logs

image

Desktop

OS: [e.g. iOS] Windows 10
Browser [e.g. chrome, safari] Firefox
Browser Version [e.g. 22] 131.0.2 (64-bit)

Additional context

No response

@tuxinzide tuxinzide added bug Something isn't working needs triage labels Oct 29, 2024
@car12o
Copy link

car12o commented Oct 30, 2024

Hi @tuxinzide. After taking a look, we found that something should be misconfigured on your server.
When we try to obtain User Profile information, the emailproperty on the json payload is missing, and therefore the error Missing email.
https://apim.docs.wso2.com/en/3.0.0/learn/api-security/openid-connect/obtaining-user-profile-information-with-openid-connect/

@car12o car12o closed this as completed Oct 30, 2024
@tuxinzide
Copy link
Author

tuxinzide commented Nov 5, 2024

Hi. We are using Microsoft Azure, Entra ID. It is not our own server. We were able to pull the email property as requested when requesting directly using OIDC method.

Please advise.

@tuxinzide
Copy link
Author

@car12o Are you able to see my response?

@car12o
Copy link

car12o commented Nov 18, 2024

@tuxinzide sorry for the late reply, I was off for the last two weeks.
I'm already aware @juacker helped you out, glad that everything is working now.

@mittma
Copy link

mittma commented Jan 10, 2025

Is it possible to post the cause and /or solution of this error? Because I have the exact same problem.

@car12o
Copy link

car12o commented Jan 10, 2025

It was a bug on the Cloud where emails matching was case-sensitive leading to unmatched emails but it has been addressed while ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

3 participants