Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Retrieve Customer token #129

Closed
misha-kotov opened this issue Jul 24, 2018 · 1 comment
Closed

Retrieve Customer token #129

misha-kotov opened this issue Jul 24, 2018 · 1 comment

Comments

@misha-kotov
Copy link

misha-kotov commented Jul 24, 2018

As a Magento developer, I want to retrieve the customer token in GraphQL by providing customer email/password combination so that I can effectively authorize a customer and can grab account data.

This should be similar to the POST /V1/integration/customer/token REST endpoint and implemented in GraphQL.

Acceptance Criteria

  • User can successfully retrieve a customer token entirely in GraphQL by providing a correct email/password combination
  • In the case of incorrect credentials, an error message is displayed:
    • The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.
  • Return type should be String
  • Two arguments should be required: email: String! and password: String!
  • mutation should be called generateCustomerToken
@naydav
Copy link
Contributor

naydav commented Sep 26, 2018

Merged with
#180
#184

@naydav naydav closed this as completed Sep 26, 2018
@naydav naydav added this to the Release: 2.3.1 milestone Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants