Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS Auth #87

Open
amejia49 opened this issue Oct 5, 2017 · 1 comment
Open

SMS Auth #87

amejia49 opened this issue Oct 5, 2017 · 1 comment

Comments

@amejia49
Copy link

amejia49 commented Oct 5, 2017

Currently following the steps for sms auth

When I get to the following step it fails

Create a new Schema Extension Function called confirmUserSmsToken and paste the schema from confirm-code-schema-extension.graphql and code from sms-authentication.js.

This is the error that pops up

Function with name 'confirmUserSmsToken' has invalid payloadName: 'AuthenticateSmsUserPayload'

@khocef
Copy link

khocef commented Mar 16, 2018

I changed it to this

type ConfirmSmsUserPayload {
  token: String!
}

extend type Mutation {
  confirmUserSmsToken(userId: ID!, confirmCode: String!):ConfirmSmsUserPayload
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants