OpenFn / OpenFn/lightning

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

Open
#4,851 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flow from openfn.org/register while already logged in at app.openfn.org, then trace the registration redirect into the production app. Clarify the intended behavior for an existing session and consider the work done when registration no longer leads to a Not found page.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authentication, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.