graphile / starter

Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
https://graphile-starter.herokuapp.com
Other
1.74k stars 219 forks source link

Heroku Demo App Reset Password flow is broken #252

Closed vinzenzweber closed 3 years ago

vinzenzweber commented 3 years ago

Summary

Heroku Demo App throws an error when trying to set a new password via link from email GraphQL error: function app_private.reset_password(unknown, unknown, unknown) does not exist

Steps to reproduce

  1. Create account with email/password https://graphile-starter.herokuapp.com/register
  2. Logout
  3. Enter email in forgot password form https://graphile-starter.herokuapp.com/forgot
  4. Receive email and click on Change Passphrase link https://graphile-starter.herokuapp.com/reset?user_id=xyz&token=xyz
  5. Enter a new passphrase and click Reset passphrase

Expected results

Set a new passphrase and receive a success message.

Actual results

Request fails with error GraphQL error: function app_private.reset_password(unknown, unknown, unknown) does not exist

benjie commented 3 years ago

Unexpected. I wonder if the UUID became corrupt and couldn't be casted. Thanks for the report I'll look into it when I get a chance :+1:

benjie commented 3 years ago

Turns out this was a deployment automation issue (I messed up the Heroku config). Fixed :+1: