File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
adminforth/documentation/docs/tutorial/07-Plugins Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -350,4 +350,31 @@ Links to adapters:
350350[ Google] ( https://github.com/devforth/adminforth-google-oauth-adapter )
351351[ GitHub] ( https://github.com/devforth/adminforth-github-oauth-adapter )
352352[ Facebook] ( https://github.com/devforth/adminforth-facebook-oauth-adapter )
353- [ Keycloak] ( https://github.com/devforth/adminforth-keycloak-oauth-adapter )
353+ [ Keycloak] ( https://github.com/devforth/adminforth-keycloak-oauth-adapter )
354+
355+
356+ ## Fill user full name
357+
358+ If you have a fullName field in your users resource, you can add it to the plugin setup:
359+
360+ ``` ts
361+
362+ plugins : [
363+ ...
364+
365+ new OAuthPlugin ({
366+
367+ ...
368+
369+ userFullNameField : ' fullName'
370+
371+ ...
372+
373+ }),
374+ ]
375+
376+ ```
377+
378+ This field will be automatically filled with the name that the provider returns, if this field was empty.
379+
380+ > ☝️Not all providers return full name or even if they do, there is no guarantee that they will be correct
You can’t perform that action at this time.
0 commit comments