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

Display a meaningful error when no tenant is configured #481

Open
jibel opened this issue Aug 21, 2024 · 2 comments
Open

Display a meaningful error when no tenant is configured #481

jibel opened this issue Aug 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working jira medium Medium importance bug

Comments

@jibel
Copy link
Collaborator

jibel commented Aug 21, 2024

Test Case

  1. Remove the client_id and the issuer from broker.conf so you just have the sections
[oidc]

[users]

  1. Login with a remote user
  2. Select a broker other than local

Expected result

An error is displayed that a user can understand

Actual result

root@ls:~# login [email protected]
  Select your provider

  1. local
> 2. Microsoft Entra ID

can't select broker: The name com.ubuntu.authd.MSEntraID was not provided by any .service files

Login incorrect
ls login:
@jibel jibel added bug Something isn't working jira labels Aug 21, 2024
@denisonbarbosa
Copy link
Member

denisonbarbosa commented Aug 21, 2024

This is not something that we can show on authd. If you don't have these values configured, the broker service won't even start, so you should take a look at the service logs for the broker instead.

@adombeck
Copy link
Contributor

Similar issue: #466

@jibel jibel added the medium Medium importance bug label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jira medium Medium importance bug
Projects
None yet
Development

No branches or pull requests

3 participants