amplication / amplication/amplication

Allow auth plugins to configure the required entities' fields

Open
#7,450 0 comments 0 reactions 1 assignee Claimed by @Shurtu-gal View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.