[OIDC] Auto-provision usernames from 'preferred_username' claim instead of 'name'

(#1238) Feature Under consideration security self-hosting

Thread

Comment by @gmpinder
RexSystem 1 vote originally by @gmpinder on GitHub
I ran into the same issue when using authentik as my IDP. To work around this, I ended up creating a property mapping that set the name from the username on the claim. This made it so that Fluxer automatically got the correct username out of the gate.