Authentication using Authelia

Hi

Am trying to get Directus to authenticate against Authelia with OpenID. It’s generally successful (user authenticates, group mapping passed back to assign as Adminstrator) but the actual user first and last name is not, so the user has “– –” as their name.

Am I missing something? I notice in OAuth2 there are env keys for the name but I believe OpenID should “just work”(!).

Scopes are defined and the setup works with other systems using it.

Any ideas?

Ok, finally sorted it. If anybody else is using this combo and having Authelia pull users from AD, you need to manually map attributes from AD so Directus could pick them up.

This wasn’t something I needed to do on other apps I’ve been experimenting with.

Hey @daren_ksm, thank you very much for including the answer when you worked it out here :slight_smile: