amplication / amplication/amplication

Allow auth plugins to configure the required entities' fields

Ouverte
#7,450 0 commentaires 0 réactions 1 personne assignée Réclamée par @Shurtu-gal Voir sur GitHub
Langage dominant
TypeScript
Étoiles
16k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

As for now, auth plugins are using hard coded auth entity's fields, like username, and password.
We want to expose these fields (per plugin) to the plugin setting.
E.g.
{
"userFieldName":"username",
"passwordFieldName": "password"
}
By default, these fields will be filled with the relevant fields in our default User entity.

In case the auth entity does not contain the defined fields, the build will be failed with the appropriate error (pointing the user to the settings of the relevant plugin).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.