ubuntu / authd

Authentication daemon for external Brokers
GNU Lesser General Public License v3.0
108 stars 9 forks source link

"could not get user info" when user doesn't have an email #366

Closed jibel closed 4 months ago

jibel commented 4 months ago

Is there an existing issue for this?

Describe the issue

When the user does not have an email set, they cannot log in and it fails with an error: "could not get user info"

This error is not clear and should indicate the problem. There is not much risk of leaking information in this case, since the authentication is already happening.

Steps to reproduce it

.

Ubuntu users: System information and logs

No response

Non Ubuntu users: System information and logs

Environment

Log files

Please redact/remove sensitive information:

authd logs can be found in //TODO

Application settings

Please redact/remove sensitive information:

You can get the configuration file from //TODO

Relevant information

No response

Double check your logs

denisonbarbosa commented 4 months ago

Fixed by https://github.com/ubuntu/oidc-broker/pull/31