mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Update first_name, last_name and email on recurring logins via LDAP, OAuth2 and OpenID * Move update of role in LDAP into emitFilter() call to avoid TS error * Use const to satisfy linter * Sign CLA * Reformat code * Add env var AUTH_SYNC_USER_INFO to enable setting name and email via opt-in config * Add AUTH_SYNC_USER_INFO to docs * Fix OAuth "typo" * Remove "?? null" occurrences for auth_data * Reformat * Run prettier * Revert "Run prettier" This reverts commit7ff70a9c1f. * Revert "Reformat" This reverts commit93a4c0c5a8. * Sync user info setting now available for each provider, update docs * Update api/src/auth/drivers/oauth2.ts Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com> * Update api/src/auth/drivers/openid.ts Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com> * Provide emitPayload type to satisfy TS rules * added changeset --------- Co-authored-by: Anton <antonymousfeedback@gmail.com> Co-authored-by: Anton <dasantonym@users.noreply.github.com> Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>