canonical / canonical/authd

Display a meaningful error when no tenant is configured

Open
#481 2 comments 0 reactions 1 assignee Claimed by @denisonbarbosa View on GitHub
Dominant language
Go
Stars
308
Forks
41
Avg merge
2d 4h
Merged PRs (30d)
58

Description

## Test Case
1. Remove the client_id and the issuer from broker.conf so you just have the sections

```
[oidc]

[users]

```

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

## Expected result
An error is displayed that a user can understand

## Actual result
```
root@ls:~# login user@domain.tld
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:
```

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.