How to create code in graphql for login page with password field

how to create code in graphql for login page without password field…

===============Query Mutation Work on admin side====================

mutation createCustomerMetafields($input: CustomerInput!) {
customerCreate(input: $input) {
customer {
id
lastName
phone
email
metafields(first: 3) {
edges {
node {
id
namespace
key
value
}
}
}
}
userErrors {
message
field
}
}
}

===============variables====================

{
“input”: {
“metafields”: [
{
“namespace”: “password”,
“key”: “password”,
“type”: “single_line_text_field”,
“value”: “rob”
}
],
“email”: “dhoni@dhoni.com”,
“lastName”:“umang”,
“phone”:“+917777777777”
}
}

Hi Umang,

Just to confirm, would this be a login page that customers would interact with? Where exactly would this be accessible to users?

yes i want to login customer and also for registration

I believe for this you’d be using the customerCreate mutation on the Storefront API. Can you describe what the exact use-case is?

i want to add [password field in login and registration query how it is possible ?