Skip to content

Registering via marketing site takes you to "Not found" page on the app if already logged in on app #4851

@lmac-1

Description

@lmac-1

Describe the bug
When you register as a new user on the production marketing website, it redirects you to the app. If you're already logged in on the app (very unlikely, very low priority), it takes you to a "Not found" page

Version number The version of Lightning you have seen the bug on.

If you're running on a tagged version, include the number: v2.16.6 (1.5.86)

I have reproduced this locally on main:

  • Yes
  • No

To Reproduce Steps to reproduce the behavior:

  1. Make sure you are already logged in on app.openfn.org
  2. openfn.org/register and create an account with a different email
  3. When sign up completes you are redirected to the production app

Expected behavior Not sure what the expected behaviour should be? Should it log you out and log you in with the new email? Or a popup to say you're already logged in?

Screenshots

Image

Additional context Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNewly identified bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions