Registering via marketing site takes you to "Not found" page on the app if already logged in on app
Nobody has claimed this yet.
- 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:
- Make sure you are already logged in on app.openfn.org
- openfn.org/register and create an account with a different email
- 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
Additional context Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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