Skip to content

Make verify token endpoint work on the production app #10

@theolampert

Description

@theolampert

Links opened from email directing a user to verify an auth token will 404 as the frontend's server does not recognize the /verify-token endpoint. Two options:

  1. Configure the frontend's server to redirect this request to the react app e.g. to the build index.html

  2. Put both apps under one domain with separate subdomains and handle this verification link from the server, setting a http-only cookie from the server and redirecting to the frontend. This has the advantage of using the more secure http-only cookie but requires some setup.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions