fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

Account Recovery #529

Closed matheus23 closed 3 years ago

matheus23 commented 3 years ago

Draft for now. Expect this to change, but feel free to give feedback.

To-do:

See the swagger docs live at https://matheus23.fission.pizza/docs/ (in case I've got the pizza instance running just now lol).

matheus23 commented 3 years ago

I've changed the route to use capture instead of a QueryParam now. Let me know if this is good to go now :)

Also, there's a small checklist for getting this running on staging, the env.yaml config needs to be updated according to the env.yaml.example in this PR. Concretely, we need to set these fields:

send_in_blue:
  api_key: XXX # No need to change
  base_url: https://api.sendinblue.com # No need to change as well
  verification_email_template_id: 17 # This setting's key changed
  recovery_email_template_id: 26 # This key is new
  recovery_app_url: https://fission-dashboard.fissionapp.net/recover/ # This will be the recovery app URL for **staging**
expede commented 3 years ago

Let me know if this is good to go now :)

Bump the minor server version and merge away!